[wix-users] uninstall specific version

abi navigator abi.navigator at gmail.com
Sun Aug 19 12:45:45 PDT 2018

Hi all,

I would like to know how to uninstall only specific version using

Here is my code snippet which uninstalls version 10.0.2 for example, and it
works OK:

<Upgrade Id="$(var.upgradeCode)">
     Minimum        ='10.0.2'
     IncludeMinimum ="yes"
     Maximum        ="10.0.2"
     IncludeMaximum ="yes"
     OnlyDetect     ="no"
     Language       ="1033"
     Property       ="MYSELECTEDPROPERTY"

Now my question is how to set minimum/maximum version dynamically, for
from the custom action?

If this is not possible then how product codes can be edited
(added/removed) inside the Upgrade table?

Thanks for any help.

More information about the wix-users mailing list