diff options
| author | Rob Mensching <rob@firegiant.com> | 2026-02-02 17:22:35 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2026-02-02 17:22:35 -0800 |
| commit | bbced9cc6a7bb8964fce295255d24f3f84fb7114 (patch) | |
| tree | da36eb5bf2018810c04ab3a55128cb3e13beab49 /src/internal/WixInternal.BaseBuildTasks.Sources | |
| parent | 5886bd8245620bf9cf35498da90bb7427e3e8863 (diff) | |
| download | wix-bbced9cc6a7bb8964fce295255d24f3f84fb7114.tar.gz wix-bbced9cc6a7bb8964fce295255d24f3f84fb7114.tar.bz2 wix-bbced9cc6a7bb8964fce295255d24f3f84fb7114.zip | |
Use `EulaId` with `-t:AcceptEula` to match documentationrobmen/eulaid
Resolves 9196
Diffstat (limited to 'src/internal/WixInternal.BaseBuildTasks.Sources')
| -rw-r--r-- | src/internal/WixInternal.BaseBuildTasks.Sources/WixCommandLineBuilder.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
| 120 | this.AppendTextUnquoted(textToAppend); | 120 | this.AppendTextUnquoted(textToAppend); |
| 121 | } | 121 | } |
| 122 | } | 122 | } |
| 123 | |||
| 124 | /// <summary> | ||
| 125 | /// Append arbitrary text to the command-line if specified quoted if needed. | ||
| 126 | /// </summary> | ||
| 127 | /// <param name="textToAppend">Text to append.</param> | ||
| 128 | public void AppendTextQuotedIfNotWhitespace(string textToAppend) | ||
| 129 | { | ||
| 130 | if (!String.IsNullOrWhiteSpace(textToAppend)) | ||
| 131 | { | ||
| 132 | this.AppendSpaceIfNotEmpty(); | ||
| 133 | this.AppendTextWithQuoting(textToAppend); | ||
| 134 | } | ||
| 135 | } | ||
| 123 | } | 136 | } |
| 124 | } | 137 | } |
