1

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.

RKM
  • 3,151
  • 9
  • 37
  • 50

2 Answers2

3

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.

caveman_dick
  • 6,302
  • 3
  • 34
  • 49
1

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.

Community
  • 1
  • 1
Bogdan Mitrache
  • 10,536
  • 19
  • 34