[wix-users] mba: How to 'skip' a package in the Apply phase?
Phill Hogland
phill.hogland at rimage.com
Wed Mar 2 07:52:14 PST 2016
Sean thanks for the feedback. In view of this I will probably move the 'resources' into a separate addon bundle, which my QA team seems to like better anyway.
Phill
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Sean Hall
Sent: Tuesday, March 01, 2016 7:31 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] mba: How to 'skip' a package in the Apply phase?
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
rest.
On Tue, Mar 1, 2016 at 4:26 PM, Phill Hogland <phill.hogland at rimage.com>
wrote:
> 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/
>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list