diff --git a/Paraffin/Main.Update.cs b/Paraffin/Main.Update.cs index 8a0dcc6..8e45e7f 100644 --- a/Paraffin/Main.Update.cs +++ b/Paraffin/Main.Update.cs @@ -760,9 +760,15 @@ private static Boolean InitializeArgumentsFromFile(String inputXml) } var wix4Usage = options.Descendants(WIX4); - if (wix4Usage.Count()==1) + if (wix4Usage.Count() == 1) { - argValues.WiX4 = true; + String rawValue = wix4Usage.First().Value; + if (0 == String.Compare(rawValue, + "true", + StringComparison.OrdinalIgnoreCase)) + { + argValues.WiX4 = true; + } } var includeFileNode = options.Descendants(INCLUDEFILESELEM);