aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2018-12-07 20:51:51 -0500
committerBob Arnson <bob@firegiant.com>2018-12-07 21:01:33 -0500
commit6823fa23d6fe2115135e7318aef6e285b3faaf45 (patch)
tree424f0ba814743c9a3278d321c17d151d5e4a5176 /src/WixToolset.Core.WindowsInstaller
parent77e611874a3d3d45e51a46e75674c44d418670cb (diff)
downloadwix-6823fa23d6fe2115135e7318aef6e285b3faaf45.tar.gz
wix-6823fa23d6fe2115135e7318aef6e285b3faaf45.tar.bz2
wix-6823fa23d6fe2115135e7318aef6e285b3faaf45.zip
Optionally use IDecompileContext.CabinetExtractFolder to extract cabs.
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Decompile/DecompileMsiOrMsmCommand.cs2
1 files changed, 1 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();