aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Burn
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core.Burn')
-rw-r--r--src/WixToolset.Core.Burn/Bundles/ProcessPayloadsCommand.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.Burn/Bundles/ProcessPayloadsCommand.cs b/src/WixToolset.Core.Burn/Bundles/ProcessPayloadsCommand.cs
index d0c1fdfc..42b1b5ab 100644
--- a/src/WixToolset.Core.Burn/Bundles/ProcessPayloadsCommand.cs
+++ b/src/WixToolset.Core.Burn/Bundles/ProcessPayloadsCommand.cs
@@ -56,7 +56,7 @@ namespace WixToolset.Core.Burn.Bundles
56 // Embedded files (aka: files from binary .wixlibs) are not content files (because they are hidden 56 // Embedded files (aka: files from binary .wixlibs) are not content files (because they are hidden
57 // in the .wixlib). 57 // in the .wixlib).
58 var sourceFile = payload.SourceFile; 58 var sourceFile = payload.SourceFile;
59 payload.ContentFile = !sourceFile.Embed; 59 payload.ContentFile = sourceFile != null && !sourceFile.Embed;
60 60
61 this.UpdatePayloadPackagingType(payload); 61 this.UpdatePayloadPackagingType(payload);
62 62
@@ -85,7 +85,7 @@ namespace WixToolset.Core.Burn.Bundles
85 85
86 private void UpdatePayloadPackagingType(WixBundlePayloadTuple payload) 86 private void UpdatePayloadPackagingType(WixBundlePayloadTuple payload)
87 { 87 {
88 if (PackagingType.Unknown == payload.Packaging) 88 if (!payload.Packaging.HasValue || PackagingType.Unknown == payload.Packaging)
89 { 89 {
90 if (!payload.Compressed.HasValue) 90 if (!payload.Compressed.HasValue)
91 { 91 {