[wix-users] Bundle and Optionally RelatedBundle

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Aug 30 08:08:25 PDT 2017

  Is there any way for a bundle to remove a specific version of previous bundles, without a custom BA and without causing an interdependency with the next version of a bundle?  The current RelatedBundle/Upgrade causes any future bundles which also intend to upgrade a specific bundle to also upgrade the related bundles.  IE, bundles A (1.0), B (2.0), and C (3.0).  If I have B and C both being related to A, when C is installed it will remove B. I understand the "why" behind this, as we want bundle A to be able to block when future bundles are created, however I'd like to allow the user to control the removal of previous bundles.

  I know I could easily handle this with a custom BA, but to me it would be nice if I implemented an optional option to related bundle to conditionally drive the behavior.  IE, <RelatedBundle Id="A" Action="OptionalUpgrade" Condition="UNINSTALL_PREVIOUS" />


More information about the wix-users mailing list