diff options
Diffstat (limited to 'src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs')
| -rw-r--r-- | src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs b/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs index 605ee045..5d6edc33 100644 --- a/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs +++ b/src/wix/WixToolset.Core.Burn/CommandLine/ExtractSubcommand.cs | |||
| @@ -7,21 +7,20 @@ namespace WixToolset.Core.Burn.CommandLine | |||
| 7 | using System.Threading; | 7 | using System.Threading; |
| 8 | using System.Threading.Tasks; | 8 | using System.Threading.Tasks; |
| 9 | using WixToolset.Core.Burn.Bundles; | 9 | using WixToolset.Core.Burn.Bundles; |
| 10 | using WixToolset.Core.Burn.Inscribe; | ||
| 11 | using WixToolset.Extensibility.Services; | 10 | using WixToolset.Extensibility.Services; |
| 12 | 11 | ||
| 13 | internal class ExtractSubcommand : BurnSubcommandBase | 12 | internal class ExtractSubcommand : BurnSubcommandBase |
| 14 | { | 13 | { |
| 15 | public ExtractSubcommand(IServiceProvider serviceProvider) | 14 | public ExtractSubcommand(IServiceProvider serviceProvider) |
| 16 | { | 15 | { |
| 17 | this.ServiceProvider = serviceProvider; | ||
| 18 | this.Messaging = serviceProvider.GetService<IMessaging>(); | 16 | this.Messaging = serviceProvider.GetService<IMessaging>(); |
| 17 | this.FileSystem = serviceProvider.GetService<IFileSystem>(); | ||
| 19 | } | 18 | } |
| 20 | 19 | ||
| 21 | private IServiceProvider ServiceProvider { get; } | ||
| 22 | |||
| 23 | private IMessaging Messaging { get; } | 20 | private IMessaging Messaging { get; } |
| 24 | 21 | ||
| 22 | private IFileSystem FileSystem { get; } | ||
| 23 | |||
| 25 | private string InputPath { get; set; } | 24 | private string InputPath { get; set; } |
| 26 | 25 | ||
| 27 | private string IntermediateFolder { get; set; } | 26 | private string IntermediateFolder { get; set; } |
| @@ -49,7 +48,7 @@ namespace WixToolset.Core.Burn.CommandLine | |||
| 49 | 48 | ||
| 50 | var uxExtractPath = Path.Combine(this.ExtractPath, "BA"); | 49 | var uxExtractPath = Path.Combine(this.ExtractPath, "BA"); |
| 51 | 50 | ||
| 52 | using (var reader = BurnReader.Open(this.Messaging, this.InputPath)) | 51 | using (var reader = BurnReader.Open(this.Messaging, this.FileSystem, this.InputPath)) |
| 53 | { | 52 | { |
| 54 | reader.ExtractUXContainer(uxExtractPath, this.IntermediateFolder); | 53 | reader.ExtractUXContainer(uxExtractPath, this.IntermediateFolder); |
| 55 | 54 | ||
