From 7b7f690249dce0b5b7eb261a7905fc338194a8ca Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Mon, 12 May 2025 17:00:56 -0400 Subject: Fix Util decompiler extension crash. --- src/ext/Util/wixext/UtilDecompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ext') diff --git a/src/ext/Util/wixext/UtilDecompiler.cs b/src/ext/Util/wixext/UtilDecompiler.cs index cde64f8f..fb6d02e5 100644 --- a/src/ext/Util/wixext/UtilDecompiler.cs +++ b/src/ext/Util/wixext/UtilDecompiler.cs @@ -538,7 +538,7 @@ namespace WixToolset.Util new XAttribute("Name", Path.GetFileNameWithoutExtension(row.FieldAsString(3))), // remove .lnk/.url extension because compiler extension adds it back for us new XAttribute("Type", type), new XAttribute("Target", row.FieldAsString(4)), - new XAttribute("IconFile", row.FieldAsString(6)), + AttributeIfNotNull("IconFile", row, 6), NumericAttributeIfNotNull("IconIndex", row, 7) ); -- cgit v1.2.3-55-g6feb