Making Wix uninstall an old plug-in when performing an upgrade

Posted by IanM on Stack Overflow See other posts from Stack Overflow or by IanM
Published on 2010-06-03T12:52:20Z Indexed on 2010/06/03 12:54 UTC
Read the original article Hit count: 217

Filed under:
|

I have a main product which is installed using Wix and has its own UpgradeCode

In between releases of the main product we sometimes release plug-ins which add or patch some functionality. The plug-ins are packaged in their own Wix generated .msi files with their own UpgradeCodes and generally install addition files is a separate folder from the main product.

I want to create a new version of the main product which includes the functionality which was previously available in a plug-in. A user upgrading to the new version will no longer need the plug-in so it would be nice to uninstall it as part of the upgrade.

Is there a way of making Wix uninstall a product with UpgradeCode2 when it is upgrading product with UpgradeCode1?

© Stack Overflow or respective owner

Related posts about wix

Related posts about uninstall