Skip to content

Commit

Permalink
Fixing bug in WiX4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnWintellect committed Jul 17, 2017
1 parent 48fe62a commit f37a683
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Paraffin/Main.Update.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f37a683

Please sign in to comment.