From 92bd26dab11023a0c4c787945fd87b23aa0a78c8 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 13 Nov 2019 11:04:59 +1000 Subject: Fix parsing Shortcut/@Name and detect duplicate in GetMsiFilenameValue. --- src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index d7056bb8..75eee3b6 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs @@ -1146,7 +1146,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind private static string GetMsiFilenameValue(string shortName, string longName) { - if (String.IsNullOrEmpty(shortName)) + if (String.IsNullOrEmpty(shortName) || String.Equals(shortName, longName, StringComparison.OrdinalIgnoreCase)) { return longName; } -- cgit v1.2.3-55-g6feb