@joebigelow / wix / commits / fefa4b54

Correctly set paths for files extracted from .msms during decompilation.

Bob Arnson committed Dec 13, 2018 at 20:45 UTC fefa4b5403b7cfe29649e71d8b5f1a18faa93568
1 file changed +1 -1
src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs
+1 -1
@@ -1452,7 +1452,7 @@ namespace WixToolset.Core.WindowsInstaller
1452 {
1453 file.Source = String.Concat(this.BaseSourcePath, Path.DirectorySeparatorChar, "File", Path.DirectorySeparatorChar, file.Id, '.', this.modularizationGuid.Substring(1, 36).Replace('-', '_'));
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 {
1457 file.Source = String.Concat(this.BaseSourcePath, Path.DirectorySeparatorChar, "File", Path.DirectorySeparatorChar, file.Id);
1458 }