[wix-users] uninstall specific version

abi navigator abi.navigator at gmail.com
Mon Aug 20 01:21:18 PDT 2018


I didn't get it, where temporary rows should be added, maybe in Custom
table?

My questions is if Minimum/Maximum parameters can be set dynamically or
only at UpgradeVersion creation?

Thanks for the answer.

On Mon, Aug 20, 2018 at 4:25 AM, Rob Mensching via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> 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)">
>   <UpgradeVersion
>      Minimum        ='10.0.2'
>      IncludeMinimum ="yes"
>      Maximum        ="10.0.2"
>      IncludeMaximum ="yes"
>      OnlyDetect     ="no"
>      Language       ="1033"
>      Property       ="MYSELECTEDPROPERTY"
>     />
> </Upgrade>
>
> 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/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list