diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/BuildCommand.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs index bfee2478..972258fe 100644 --- a/src/WixToolset.Core/CommandLine/BuildCommand.cs +++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs | |||
| @@ -122,7 +122,7 @@ namespace WixToolset.Core.CommandLine | |||
| 122 | } | 122 | } |
| 123 | else | 123 | else |
| 124 | { | 124 | { |
| 125 | this.BindPhase(wixipl, wxls, filterCultures, this.commandLine.CabCachePath, this.commandLine.BindPaths); | 125 | this.BindPhase(wixipl, wxls, filterCultures, this.commandLine.CabCachePath, this.commandLine.BindPaths, this.commandLine.BurnStubPath); |
| 126 | } | 126 | } |
| 127 | } | 127 | } |
| 128 | } | 128 | } |
| @@ -257,7 +257,7 @@ namespace WixToolset.Core.CommandLine | |||
| 257 | return linker.Link(context); | 257 | return linker.Link(context); |
| 258 | } | 258 | } |
| 259 | 259 | ||
| 260 | private void BindPhase(Intermediate output, IEnumerable<Localization> localizations, IEnumerable<string> filterCultures, string cabCachePath, IEnumerable<IBindPath> bindPaths) | 260 | private void BindPhase(Intermediate output, IEnumerable<Localization> localizations, IEnumerable<string> filterCultures, string cabCachePath, IEnumerable<IBindPath> bindPaths, string burnStubPath) |
| 261 | { | 261 | { |
| 262 | var intermediateFolder = this.IntermediateFolder; | 262 | var intermediateFolder = this.IntermediateFolder; |
| 263 | if (String.IsNullOrEmpty(intermediateFolder)) | 263 | if (String.IsNullOrEmpty(intermediateFolder)) |
| @@ -290,6 +290,7 @@ namespace WixToolset.Core.CommandLine | |||
| 290 | { | 290 | { |
| 291 | var context = this.ServiceProvider.GetService<IBindContext>(); | 291 | var context = this.ServiceProvider.GetService<IBindContext>(); |
| 292 | //context.CabbingThreadCount = this.CabbingThreadCount; | 292 | //context.CabbingThreadCount = this.CabbingThreadCount; |
| 293 | context.BurnStubPath = burnStubPath; | ||
| 293 | context.CabCachePath = cabCachePath; | 294 | context.CabCachePath = cabCachePath; |
| 294 | context.Codepage = resolveResult.Codepage; | 295 | context.Codepage = resolveResult.Codepage; |
| 295 | //context.DefaultCompressionLevel = this.DefaultCompressionLevel; | 296 | //context.DefaultCompressionLevel = this.DefaultCompressionLevel; |
| @@ -399,6 +400,8 @@ namespace WixToolset.Core.CommandLine | |||
| 399 | 400 | ||
| 400 | public List<IBindPath> BindPaths { get; } = new List<IBindPath>(); | 401 | public List<IBindPath> BindPaths { get; } = new List<IBindPath>(); |
| 401 | 402 | ||
| 403 | public string BurnStubPath { get; private set; } | ||
| 404 | |||
| 402 | public string CabCachePath { get; private set; } | 405 | public string CabCachePath { get; private set; } |
| 403 | 406 | ||
| 404 | public List<string> Cultures { get; } = new List<string>(); | 407 | public List<string> Cultures { get; } = new List<string>(); |
| @@ -480,6 +483,10 @@ namespace WixToolset.Core.CommandLine | |||
| 480 | } | 483 | } |
| 481 | break; | 484 | break; |
| 482 | } | 485 | } |
| 486 | case "burnstub": | ||
| 487 | this.BurnStubPath = parser.GetNextArgumentOrError(arg); | ||
| 488 | return true; | ||
| 489 | |||
| 483 | case "cc": | 490 | case "cc": |
| 484 | this.CabCachePath = parser.GetNextArgumentOrError(arg); | 491 | this.CabCachePath = parser.GetNextArgumentOrError(arg); |
| 485 | return true; | 492 | return true; |
