Skip to content

Handle AllowDowngrades and AllowSameVersionUpgrades in MajorUpgrade

This allows you to specify "AllowDowngrades" and/or "AllowSameVersionUpgrades" in MajorUpgrade. The behavior is off by default to be backward compatible and to comply with the behavior described in https://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html

When AllowDowngrades is set to yes and a newer installed version is detected, it'll be replaced by the older version in the msi anyway.

When AllowSameVersionUpgrades is set to yes, and the same exact version is already installed, it'll be replaced with the version in the .msi, rather than causing a duplicate installation which was the default behavior.

Merge request reports