Modify keeps the current states of the MSIs. You need to return a different
requested state from OnPlanPackageBegin to cause the MSI to
installed/repaired/uninstalled.
On Mon, Apr 16, 2012 at 7:23 AM, burn baby burn
<fernando.moled...@nice.com>wrote:

> Hi all,
>
> I would like to provide my bootstrapper with functionality to modify the
> MSIs chained in the bundle after the first fresh installation.
> The problem is that once the MSIs are installed, the bootstrapper detects
> them and doesn't run them again.
>
> I took the setup in the wiX 3.6 sources as the base for my setup. I've
> noticed that in the file /src\Setup\WixBA\InstallationViewModel.cs/ there
> wasn't any modify command, so I added /public ICommand ModifyCommand/ that
> returns the corresponding object in a similiar way than the other existing
> commands...
>
>
> /this.modifiyCommand = new RelayCommand(param =>
> this.Plan(*LaunchAction.Modify*), param => this.state ==
> InstallationState.DetectedPresent);/
>
>
> Even though I can see the bootstrapper does execute the command Modify (it
> logs "Plan 6 packages, action: Modify"), it does not run the MSIs again.
>
>
> /Planned package: ComponentSetup, state: *Present*, default requested:
> *None*, ux requested: *None*, execute: None, rollback: None, cache: No,
> uncache: No, dependency: Register/
>
>
> Could anyone tell me what else I have to do to force the bootstraper to run
> again the MSIs?
> Thanks in advance!!
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Modifying-MSIs-from-the-bootstrapper-tp7470406p7470406.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to