[wix-users] Override related bundle actions

Phill Hogland phill.hogland at rimage.com
Mon Sep 12 12:29:27 PDT 2016

To identify the related bundle you can use DetectRelatedBundle where  RelationType.Dependent == e.RelationType and then save other parameters to be used later in planing this particular related bundle (such as the Bundle Tag).

PlanPackageBegin will specify an e.PackageId which is a guid related to the related bundle (rather than the sting name of one of the packages in the current bundle's chain) and e.state is the proposed state.  So if you want to change the requested state you return a different RequestState.

From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Jon Phelps <jonmp14 at gmail.com>
Sent: Monday, September 12, 2016 2:02:30 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Override related bundle actions

I have an add-on bundle that is triggering a repair of its dependent bundle
during uninstall.
It sounds like I can override that behavior in my custom BA so that doesn't
happen. (See issue 5222)

Does anyone know how I can override that behavior?

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

More information about the wix-users mailing list