diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/BuildCommand.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs index eda93f31..9efef830 100644 --- a/src/WixToolset.Core/CommandLine/BuildCommand.cs +++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs | |||
| @@ -372,7 +372,7 @@ namespace WixToolset.Core.CommandLine | |||
| 372 | context.ContentsFile = this.ContentsFile; | 372 | context.ContentsFile = this.ContentsFile; |
| 373 | context.OutputsFile = this.OutputsFile; | 373 | context.OutputsFile = this.OutputsFile; |
| 374 | context.BuiltOutputsFile = this.BuiltOutputsFile; | 374 | context.BuiltOutputsFile = this.BuiltOutputsFile; |
| 375 | context.SuppressAclReset = false; // TODO: correctly set SuppressAclReset | 375 | context.ResetAcls = this.commandLine.ResetAcls; |
| 376 | context.CancellationToken = cancellationToken; | 376 | context.CancellationToken = cancellationToken; |
| 377 | 377 | ||
| 378 | var layout = this.ServiceProvider.GetService<ILayoutCreator>(); | 378 | var layout = this.ServiceProvider.GetService<ILayoutCreator>(); |
| @@ -547,6 +547,8 @@ namespace WixToolset.Core.CommandLine | |||
| 547 | 547 | ||
| 548 | public bool SuppressValidation { get; set; } | 548 | public bool SuppressValidation { get; set; } |
| 549 | 549 | ||
| 550 | public bool ResetAcls { get; set; } | ||
| 551 | |||
| 550 | public CommandLine(IServiceProvider serviceProvider, IMessaging messaging) | 552 | public CommandLine(IServiceProvider serviceProvider, IMessaging messaging) |
| 551 | { | 553 | { |
| 552 | this.ServiceProvider = serviceProvider; | 554 | this.ServiceProvider = serviceProvider; |
| @@ -702,6 +704,10 @@ namespace WixToolset.Core.CommandLine | |||
| 702 | case "sval": | 704 | case "sval": |
| 703 | this.SuppressValidation = true; | 705 | this.SuppressValidation = true; |
| 704 | return true; | 706 | return true; |
| 707 | |||
| 708 | case "resetacls": | ||
| 709 | this.ResetAcls = true; | ||
| 710 | return true; | ||
| 705 | } | 711 | } |
| 706 | 712 | ||
| 707 | if (parameter.StartsWith("sw")) | 713 | if (parameter.StartsWith("sw")) |
