[wix-users] uninstall specific version

Rob Mensching rob at firegiant.com
Sun Aug 19 19:25:12 PDT 2018

Try adding temporary rows.

 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of abi navigator via wix-users
Sent: Sunday, August 19, 2018 12:46 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: abi navigator <abi.navigator at gmail.com>
Subject: [wix-users] uninstall specific version

Hi all,

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

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 example 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.

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list