From 8a957275b6a1185f3b74fb31fff258be7f628347 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 24 Apr 2021 17:00:13 -0500 Subject: Ignore Compressed attribute for payloads when authored into a container #6406 --- src/WixToolset.Core/Link/FlattenAndProcessBundleTablesCommand.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/WixToolset.Core/Link/FlattenAndProcessBundleTablesCommand.cs') diff --git a/src/WixToolset.Core/Link/FlattenAndProcessBundleTablesCommand.cs b/src/WixToolset.Core/Link/FlattenAndProcessBundleTablesCommand.cs index 52734141..16593c7d 100644 --- a/src/WixToolset.Core/Link/FlattenAndProcessBundleTablesCommand.cs +++ b/src/WixToolset.Core/Link/FlattenAndProcessBundleTablesCommand.cs @@ -169,6 +169,12 @@ namespace WixToolset.Core.Link if (String.IsNullOrEmpty(payloadSymbol.ContainerRef)) { + if (payloadSymbol.Compressed == false) + { + this.Messaging.Write(LinkerWarnings.UncompressedPayloadInContainer(payloadSymbol.SourceLineNumbers, groupSymbol.ChildId, containerId)); + } + + payloadSymbol.Compressed = true; payloadSymbol.ContainerRef = containerId; } else -- cgit v1.2.3-55-g6feb