diff options
author | Bob Arnson <bob@firegiant.com> | 2018-12-13 20:45:48 -0500 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2018-12-13 20:56:40 -0500 |
commit | fefa4b5403b7cfe29649e71d8b5f1a18faa93568 (patch) | |
tree | 0c707ac25f772047b7b342b68ae4cdb9a7984f77 | |
parent | 063d53c999a2bc53f55b95b4738b54f32b54d8ac (diff) | |
download | wix-fefa4b5403b7cfe29649e71d8b5f1a18faa93568.tar.gz wix-fefa4b5403b7cfe29649e71d8b5f1a18faa93568.tar.bz2 wix-fefa4b5403b7cfe29649e71d8b5f1a18faa93568.zip |
Correctly set paths for files extracted from .msms during decompilation.
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs index 3b193a4a..88393d6c 100644 --- a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs +++ b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs | |||
@@ -1452,7 +1452,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
1452 | { | 1452 | { |
1453 | file.Source = String.Concat(this.BaseSourcePath, Path.DirectorySeparatorChar, "File", Path.DirectorySeparatorChar, file.Id, '.', this.modularizationGuid.Substring(1, 36).Replace('-', '_')); | 1453 | file.Source = String.Concat(this.BaseSourcePath, Path.DirectorySeparatorChar, "File", Path.DirectorySeparatorChar, file.Id, '.', this.modularizationGuid.Substring(1, 36).Replace('-', '_')); |
1454 | } | 1454 | } |
1455 | else if (Wix.YesNoDefaultType.yes == file.Compressed || (Wix.YesNoDefaultType.no != file.Compressed && this.compressed)) | 1455 | else if (Wix.YesNoDefaultType.yes == file.Compressed || (Wix.YesNoDefaultType.no != file.Compressed && this.compressed) || (OutputType.Product == this.OutputType && this.TreatProductAsModule)) |
1456 | { | 1456 | { |
1457 | file.Source = String.Concat(this.BaseSourcePath, Path.DirectorySeparatorChar, "File", Path.DirectorySeparatorChar, file.Id); | 1457 | file.Source = String.Concat(this.BaseSourcePath, Path.DirectorySeparatorChar, "File", Path.DirectorySeparatorChar, file.Id); |
1458 | } | 1458 | } |