I want to prevent upgrades from before a specific version.
When I install version 5.1 it should check the previous version and only continue with the new installer if there isn't a previous version installed or if the previous version is above a 5.0.
I've looked into Requirements --> Launch Conditions --> Custom where I found OLDPRODUCTS.
Then I went to Product Information --> Upgrades where I checked "Customize Advanced Installer upgrade rules" and changed Min version from 0.0.1 to 5.0.0.
This however didn't block the installation, but rather generated parallel installations.
Next I unchecked "Customize Advanced Installer upgrade rules" and added a custom rule:
[|UpgradeCode] Min: 4.0.0 Property: UPGRADE_OK
I haven't found any documentation on these fields but my assumption is that it checks the old upgrade code whether it is within the range and sets the propery UPGRADE_OK. Is this correct?
Then under Launch Conditions I added the condition:
(Not Installed) OR (UPGRADE_OK)
This however didn't prevent an upgrade.