Skip to content

Commit

Permalink
Fix duplication of AdditionalOptions being added to command-line
Browse files Browse the repository at this point in the history
Fixes 7837
  • Loading branch information
robmen committed Nov 7, 2023
1 parent b842027 commit 1eda604
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/wix/WixToolset.BuildTasks/DetachBundleEngineForSigning.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilde
commandLineBuilder.AppendSwitchIfNotNull("-intermediatefolder ", this.IntermediateDirectory);

base.BuildCommandLine(commandLineBuilder);

commandLineBuilder.AppendTextIfNotWhitespace(this.AdditionalOptions);
}

protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilde
commandLineBuilder.AppendSwitchIfNotNull("-intermediatefolder ", this.IntermediateDirectory);

base.BuildCommandLine(commandLineBuilder);

commandLineBuilder.AppendTextIfNotWhitespace(this.AdditionalOptions);
}
}
}
2 changes: 0 additions & 2 deletions src/wix/WixToolset.BuildTasks/ReattachSignedBundleEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilde
commandLineBuilder.AppendSwitchIfNotNull("-intermediatefolder ", this.IntermediateDirectory);

base.BuildCommandLine(commandLineBuilder);

commandLineBuilder.AppendTextIfNotWhitespace(this.AdditionalOptions);
}

protected override int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands)
Expand Down
2 changes: 0 additions & 2 deletions src/wix/WixToolset.BuildTasks/WindowsInstallerValidation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilde
commandLineBuilder.AppendArrayIfNotNull("-sice ", this.SuppressIces);

base.BuildCommandLine(commandLineBuilder);

commandLineBuilder.AppendTextIfNotWhitespace(this.AdditionalOptions);
}
}
}
1 change: 0 additions & 1 deletion src/wix/WixToolset.BuildTasks/WixBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ protected override void BuildCommandLine(WixCommandLineBuilder commandLineBuilde
commandLineBuilder.AppendArrayIfNotNull("-bindVariable ", this.CalculateBindVariableStrings());
commandLineBuilder.AppendArrayIfNotNull("-loc ", this.LocalizationFiles);
commandLineBuilder.AppendArrayIfNotNull("-lib ", this.LibraryFiles);
commandLineBuilder.AppendTextIfNotWhitespace(this.AdditionalOptions);
commandLineBuilder.AppendFileNamesIfNotNull(this.SourceFiles, " ");
}

Expand Down

0 comments on commit 1eda604

Please sign in to comment.