aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2020-12-08 14:00:13 -0500
committerBob Arnson <bob@firegiant.com>2020-12-08 14:42:14 -0500
commit8a67cff70cdfa014cc068dcc7756ed57b2ed1642 (patch)
tree97a434f6ea1d6fa829a7d5aee905eb3624ddaa04 /src/WixToolset.Core.WindowsInstaller
parent5a874790ba9ec6c2d3c9002699114c2fe4c493ae (diff)
downloadwix-8a67cff70cdfa014cc068dcc7756ed57b2ed1642.tar.gz
wix-8a67cff70cdfa014cc068dcc7756ed57b2ed1642.tar.bz2
wix-8a67cff70cdfa014cc068dcc7756ed57b2ed1642.zip
Decompiling null GUID should set `Guid=""` to match.
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs
index 80ee75a5..d11a890c 100644
--- a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs
@@ -4152,7 +4152,7 @@ namespace WixToolset.Core.WindowsInstaller
4152 { 4152 {
4153 var xComponent = new XElement(Names.ComponentElement, 4153 var xComponent = new XElement(Names.ComponentElement,
4154 new XAttribute("Id", row.FieldAsString(0)), 4154 new XAttribute("Id", row.FieldAsString(0)),
4155 row.IsColumnEmpty(1) ? null : new XAttribute("Guid", row.FieldAsString(1))); 4155 new XAttribute("Guid", row.FieldAsString(1) ?? String.Empty));
4156 4156
4157 var attributes = row.FieldAsInteger(3); 4157 var attributes = row.FieldAsInteger(3);
4158 4158