@joebigelow / wix-1 / commits / 8634b7f6

A couple of minor decompiler fixes.

Bob Arnson committed Aug 26, 2020 at 20:34 UTC 8634b7f60adad8d09834e77aa0e4a0f26451f845
1 file changed +2 -2
src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs
+2 -2
@@ -3147,7 +3147,7 @@ namespace WixToolset.Core.WindowsInstaller
3147 {
3148 var progressText = new XElement(Names.ProgressTextElement,
3149 new XAttribute("Action", row.FieldAsString(0)),
3150 - row.IsColumnNull(1) ? null : new XAttribute("Content", row.FieldAsString(1)),
3150 + row.IsColumnNull(1) ? null : new XAttribute("Message", row.FieldAsString(1)),
3151 row.IsColumnNull(2) ? null : new XAttribute("Template", row.FieldAsString(2)));
3152
3153 this.UIElement.Add(progressText);
@@ -4144,7 +4144,7 @@ namespace WixToolset.Core.WindowsInstaller
4144 {
4145 var xComponent = new XElement(Names.ComponentElement,
4146 new XAttribute("Id", row.FieldAsString(0)),
4147 - new XAttribute("Guid", row.FieldAsString(1)));
4147 + row.IsColumnEmpty(1) ? null : new XAttribute("Guid", row.FieldAsString(1)));
4148
4149 var attributes = row.FieldAsInteger(3);
4150