From e8030ca17ff96a794a3fecd66bb01b81581a5451 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 22 May 2020 14:47:36 -0700 Subject: Fix naming of file in a merge module's cabinet The file was stored in the merge module's cabinet with plain FileId, without the modularization GUID. This change fixes the cabinet builder so that it adds the modularization GUID when creating the cabinet. --- src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs index 6483f0fc..d5806fee 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindSummaryInfoCommand.cs @@ -35,14 +35,14 @@ namespace WixToolset.Core.WindowsInstaller.Bind /// /// Modularization guid, or null if the output is not a module. /// - public string ModularizationGuid { get; private set; } + public string ModularizationSuffix { get; private set; } public void Execute() { this.Compressed = false; this.LongNames = false; this.InstallerVersion = 0; - this.ModularizationGuid = null; + this.ModularizationSuffix = null; var foundCreateDataTime = false; var foundLastSaveDataTime = false; @@ -71,7 +71,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind if (SectionType.Module == this.Section.Type) { - this.ModularizationGuid = packageCode.Substring(1, 36).Replace('-', '_'); + this.ModularizationSuffix = "." + packageCode.Substring(1, 36).Replace('-', '_'); } else if ("*" == packageCode) { -- cgit v1.2.3-55-g6feb