[wix-users] Major Upgrade issue for Instance Transforms

Hoover, Jacob Jacob.Hoover at greenheck.com
Fri Jun 2 09:23:48 PDT 2017


Instance transforms are ugly, and they add an extremely complex layer into your installer.  I started with instance transforms and ended up backing off to some simple named flavors of the application with a unique bundle and set of MSI's.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Nir Bar
Sent: Friday, June 2, 2017 4:40 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Major Upgrade issue for Instance Transforms

You can use major upgrades for multi-instance products.For a major upgrade to remove all older instances, author it to match any product with the same UpgradeCode and older version.


If you want a new instance to remove a specific older instance while leaving other- older and newer- instances installed, you can author the Upgrade element to match on nothing (for example, match on versions 0.0.0-0.0.1 exclusive) and then use a custom action to set the upgrade property to the specific instance you wish to remove.


Burn currently does not support multi-instance packages, except for the ugly way of bootstrapping the transformed packages (that is, having the MSI1..MSIx packages in the bundle).
Having said that, I have plans to develop this feature as a client requires it. However, there's no set date for this yet.




--
https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks









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



More information about the wix-users mailing list