Is there a way to check for the product version that windows installer is upgrading from, such that, a specified custom action only runs on upgrades from certain versions?
Thanks.
Is there a way to check for the product version that windows installer is upgrading from, such that, a specified custom action only runs on upgrades from certain versions?
Thanks.
Yes you can create a file search that will check for a specific version and set a property you can use in your custom action condition. See http://wix.sourceforge.net/manual-wix3/check_the_version_number.htm for a nice guide.
You need to defined your upgrade rule, using a a custom public property, here are more details: How to implement WiX installer upgrade? Then use this property to create the condition desired.