In your custom BA you can connect to event fired when the installer is 
executing the detect, plan and apply operations, this events are callled for 
package and for the single feature of an msi, if you return the code you want 
you can change the plan action.
"Absent" - for removing
"Force Absent" - for force removing
"Present" - for installing
"None" - to make the default msi
"Repair" - to repair
....
you can see as an example the setup shipped with the source code of wix.



> Date: Fri, 11 Oct 2013 11:59:54 -0700
> From: zarko.kosto...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] How to modify MSI from the custom bootstrapper
> 
> Ok, how? Both launch actions, install and modify, are ignoring my
> modifications. 
> Installation, as it currently is, is set to do silent installation and
> modification by reading some custom properties and with that information to
> internally set feature install states to local or absent. 
> In case of first time installation it performs well, but in case of
> modification, internal MSI, behaves as it was not started at all regardless
> of launch conditions.
> 
> 
> 
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-modify-MSI-from-the-custom-bootstrapper-tp7585752p7589676.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to