From bbced9cc6a7bb8964fce295255d24f3f84fb7114 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 2 Feb 2026 17:22:35 -0800 Subject: Use `EulaId` with `-t:AcceptEula` to match documentation Resolves 9196 --- .../WixCommandLineBuilder.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/internal') diff --git a/src/internal/WixInternal.BaseBuildTasks.Sources/WixCommandLineBuilder.cs b/src/internal/WixInternal.BaseBuildTasks.Sources/WixCommandLineBuilder.cs index 61d7095d..985ef855 100644 --- a/src/internal/WixInternal.BaseBuildTasks.Sources/WixCommandLineBuilder.cs +++ b/src/internal/WixInternal.BaseBuildTasks.Sources/WixCommandLineBuilder.cs @@ -120,5 +120,18 @@ namespace WixToolset.BaseBuildTasks this.AppendTextUnquoted(textToAppend); } } + + /// + /// Append arbitrary text to the command-line if specified quoted if needed. + /// + /// Text to append. + public void AppendTextQuotedIfNotWhitespace(string textToAppend) + { + if (!String.IsNullOrWhiteSpace(textToAppend)) + { + this.AppendSpaceIfNotEmpty(); + this.AppendTextWithQuoting(textToAppend); + } + } } } -- cgit v1.2.3-55-g6feb