Take a look at WixBA (available in the WiX source files, it's the WiX installer 
UI).
You will find the PlanPackageBegin handler in InstallationViewModel.cs (at 
least for WiX version 3.6 this is true).
You can set in here the state of each package from your bundle (i.e. you can 
always plan LaunchAction.Install,
and depending on the button you use to start the install, set the state of a 
package to "ignore it" - e.State = RequestState.None).




________________________________
 From: Hans ter Horst <hoshis...@gmail.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net> 
Sent: Monday, October 22, 2012 12:17 PM
Subject: Re: [WiX-users] Burn: Specifying PackageGroup Id on button click
 
Thanks Rob, unfortunately I cannot find any information about
the OnPackagePlan callbacks online nor can I see it used in the WixBA
source code. Could you point me in the right direction?

Thanks!

On Fri, Oct 19, 2012 at 6:59 PM, Rob Mensching <r...@robmensching.com> wrote:

> Check on the OnPackagePlan callbacks.
>
> On Fri, Oct 19, 2012 at 5:19 AM, Hans ter Horst <hoshis...@gmail.com>
> wrote:
>
> > Hello, i have several simple installers that I would like group behind a
> > Burn interface and start depending on the button clicked from the
> > Bootstrapper interface I am designing which will have several buttons.
> > For a simple bootstrapper I know
> > I can use Bootstrapper.Engine.Plan(LaunchAction.Install); on hitting an
> > install button and Bootstrapper.Engine.Plan(LaunchAction.Uninstall); for
> > an uninstall button. How can I extend this to refer to PackageA or
> PackageB
> > in my Bundle.wxs file so i can differentiate between the MSI files
> started?
> >
> > Thanks!
> > --
> > http://monochrome.me.uk/blog/
> >
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> virtually,
>
>    Rob Mensching
>    http://RobMensching.com LLC
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
http://monochrome.me.uk/blog/
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to