[wix-users] mba: How to 'skip' a package in the Apply phase?

Sean Hall r.sean.hall at gmail.com
Tue Mar 1 17:31:01 PST 2016

Burn isn't designed for the BA to make those kind of decisions during the
Apply phase, the BA is supposed to be able to figure it out during
Planning. Theoretically, your BA could install the driver in one
Detect/Plan/Apply cycle and then do another Detect/Plan/Apply cycle for the

On Tue, Mar 1, 2016 at 4:26 PM, Phill Hogland <phill.hogland at rimage.com>

> I have a scenario where my bundle installs a driver for multi-device
> hardware.  Then the bundle detects, in the Apply phase the exact hardware
> configuration which attached to the driver.  Based on this information
> (which is not available in the Plan phase), I need to install (or not)
> additional resources.  I had planned to include all of the resources
> (packages) in the Plan (and costing) phases, but then skip executing a
> particular resource package depending on the requirements of the hardware
> detected after the driver is installed, in a later packages
> ExecutePackageBegin handler by inspecting the system.  However I do not see
> how to skip executing a particular package.   The
> ExecutePackageBeginEventArgs e.ShouldExecute is read-only so I cannot set
> it to signal the engine to skip installing a package.  Any advice on how to
> approach this issue would be appreciated.
> Phill
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list