diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Decompile/DecompileMsiOrMsmCommand.cs | 2 | ||||
| -rw-r--r-- | src/WixToolset.Core/DecompileContext.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Decompile/DecompileMsiOrMsmCommand.cs b/src/WixToolset.Core.WindowsInstaller/Decompile/DecompileMsiOrMsmCommand.cs index d622dbb2..474847be 100644 --- a/src/WixToolset.Core.WindowsInstaller/Decompile/DecompileMsiOrMsmCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Decompile/DecompileMsiOrMsmCommand.cs | |||
| @@ -46,7 +46,7 @@ namespace WixToolset.Core.WindowsInstaller.Unbind | |||
| 46 | // extract the files from the cabinets | 46 | // extract the files from the cabinets |
| 47 | if (!String.IsNullOrEmpty(this.Context.ExtractFolder) && !this.Context.SuppressExtractCabinets) | 47 | if (!String.IsNullOrEmpty(this.Context.ExtractFolder) && !this.Context.SuppressExtractCabinets) |
| 48 | { | 48 | { |
| 49 | var fileDirectory = Path.Combine(this.Context.ExtractFolder, "File"); | 49 | var fileDirectory = String.IsNullOrEmpty(this.Context.CabinetExtractFolder) ? Path.Combine(this.Context.ExtractFolder, "File") : this.Context.CabinetExtractFolder; |
| 50 | 50 | ||
| 51 | var extractCommand = new ExtractCabinetsCommand(output, database, this.Context.DecompilePath, fileDirectory, this.Context.IntermediateFolder, this.Context.TreatProductAsModule); | 51 | var extractCommand = new ExtractCabinetsCommand(output, database, this.Context.DecompilePath, fileDirectory, this.Context.IntermediateFolder, this.Context.TreatProductAsModule); |
| 52 | extractCommand.Execute(); | 52 | extractCommand.Execute(); |
diff --git a/src/WixToolset.Core/DecompileContext.cs b/src/WixToolset.Core/DecompileContext.cs index b697c3cf..c6902117 100644 --- a/src/WixToolset.Core/DecompileContext.cs +++ b/src/WixToolset.Core/DecompileContext.cs | |||
| @@ -25,6 +25,8 @@ namespace WixToolset.Core | |||
| 25 | 25 | ||
| 26 | public string ExtractFolder { get; set; } | 26 | public string ExtractFolder { get; set; } |
| 27 | 27 | ||
| 28 | public string CabinetExtractFolder { get; set; } | ||
| 29 | |||
| 28 | public string BaseSourcePath { get; set; } | 30 | public string BaseSourcePath { get; set; } |
| 29 | 31 | ||
| 30 | public string IntermediateFolder { get; set; } | 32 | public string IntermediateFolder { get; set; } |
