aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Converters/WixConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Converters/WixConverter.cs')
-rw-r--r--src/WixToolset.Converters/WixConverter.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/WixToolset.Converters/WixConverter.cs b/src/WixToolset.Converters/WixConverter.cs
index a7f08b88..c78e2245 100644
--- a/src/WixToolset.Converters/WixConverter.cs
+++ b/src/WixToolset.Converters/WixConverter.cs
@@ -964,9 +964,17 @@ namespace WixToolset.Converters
964 this.OnError(ConverterTestType.InstallerVersionBehaviorChange, element, "Breaking change: The default value for Package/@InstallerVersion has been changed to '500' regardless of build platform. If you need a lower version, set it manually in the Package element."); 964 this.OnError(ConverterTestType.InstallerVersionBehaviorChange, element, "Breaking change: The default value for Package/@InstallerVersion has been changed to '500' regardless of build platform. If you need a lower version, set it manually in the Package element.");
965 } 965 }
966 966
967 if (xSummaryInformation.Attribute("Compressed") == null)
968 {
969 xPackage.SetAttributeValue("Compressed", "no");
970 }
971 else
972 {
973 MoveAttribute(xSummaryInformation, "Compressed", xPackage, defaultValue: "yes");
974 }
975
967 RemoveAttribute(xSummaryInformation, "AdminImage"); 976 RemoveAttribute(xSummaryInformation, "AdminImage");
968 RemoveAttribute(xSummaryInformation, "Comments"); 977 RemoveAttribute(xSummaryInformation, "Comments");
969 MoveAttribute(xSummaryInformation, "Compressed", xPackage, defaultValue: "no");
970 RemoveAttribute(xSummaryInformation, "Id"); 978 RemoveAttribute(xSummaryInformation, "Id");
971 MoveAttribute(xSummaryInformation, "InstallerVersion", xPackage, defaultValue: "500"); 979 MoveAttribute(xSummaryInformation, "InstallerVersion", xPackage, defaultValue: "500");
972 MoveAttribute(xSummaryInformation, "InstallScope", xPackage, "Scope", defaultValue: "perMachine"); 980 MoveAttribute(xSummaryInformation, "InstallScope", xPackage, "Scope", defaultValue: "perMachine");