OK, thank you for the information.

I would like to get your thoughts on the following.  For future releases of 
Wix(Wix 3.8?), do you envision Burn being updated to fully support 
DisplayInternalUI?  Or is the real intent of Burn that the UI of the MSI should 
not be used, and that the UI should be created outside of the MSI and displayed 
to the user before the chained MSI's?  And that any user inputs made in the 
previously displayed UI's that are needed during the MSI execution should then 
be passed into the MSI's as properties?

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Thursday, May 09, 2013 9:40 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to modify MSI from the custom bootstrapper

Ahh, yeah, that makes sense. I think this is another of those cases like the 
progress bar not showing correctly for DisplayInternalUI='yes' on MsiPackages 
that isn't handled well in Burn today. As you've undoubtedly noted showing 
internal UI from Burn was not a high priority item in the initial release of 
Burn. The DisplayInternalUI was added late and covers only the most basic of 
scenarios.

I think more work is necessary in Burn to really get DisplayInternalUI fully 
supported.


On Thu, May 9, 2013 at 6:56 AM, Christopher West C < 
christopher.c.w...@ericsson.com> wrote:

> In OnPlanPackageBegin, the value of the State is already set to "Present"
> when the event is invoked.  So the question is, what value do I change 
> it to in order to have the MSI run and for the MSI's UI to be 
> displayed?  I tried setting the State to RequestState.Repair, and 
> while this did run the MSI, the MSI's UI did not display.  This made 
> sense to me because if I install the MSI directly and run repair from 
> ARP, the MSI's UI does not display.
>
> So the question is, what State value do I set in OnPlanPackageBegin to 
> run the previously installed MSI and for the MSI's UI to display?  
> Again, note that if I install the .msi directly, I am able to display 
> the MSI's UI from the ARP via the change button.
>
> -----Original Message-----
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: Thursday, May 09, 2013 12:07 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How to modify MSI from the custom 
> bootstrapper
>
> If you want to force a package to run during modify, change the 
> requested state in OnPlanPackageBegin(). The default will be a no-op.
>
>
> On Wed, May 8, 2013 at 5:51 PM, Christopher West C < 
> christopher.c.w...@ericsson.com> wrote:
>
> >
> > I would like to have my custom bootstrapper allow for an installed 
> > MSI to be modified via the MSI's UI.  If I install the .msi 
> > directly, I am able to do this from the ARP via the change button.
> > I tried to accomplish this same behavior via my custom bootstrapper.
> > In my custom bootstrapper,  I tried calling the 
> > "Bootstrapper.Engine.Plan(LaunchAction.Modify)", but the MSI was not ran.
> >  The relevant section of the log file is below.
> >
> > [9A00:6CA8][2013-05-08T19:34:40]i200: Plan begin, 2 packages, action:
> > Modify
> > [9A00:6CA8][2013-05-08T19:34:40]w321: Skipping dependency 
> > registration on package with no dependency providers: Netfx4Full
> > [9A00:6CA8][2013-05-08T19:34:40]i201: Planned package: Netfx4Full, state:
> > Present, default requested: Present, ba requested: Present, execute:
> > None,
> > rollback: None, cache: No, uncache: No, dependency: None
> > [9A00:6CA8][2013-05-08T19:34:40]i201: Planned package:
> > CBADummyInstallerPackageId, state: Present, default requested:
> > Present, ba
> > requested: Present, execute: None, rollback: None, cache: No, uncache:
> > No,
> > dependency: Register
> > [9A00:6CA8][2013-05-08T19:34:40]i299: Plan complete, result: 0x0
> > [9A00:6CA8][2013-05-08T19:34:40]i300: Apply begin
> > [13490:74E0][2013-05-08T19:34:40]i360: Creating a system restore point.
> > [13490:74E0][2013-05-08T19:34:47]i361: Created a system restore point.
> > [13490:74E0][2013-05-08T19:34:47]i323: Registering package 
> > dependency
> > provider: {789E60DC-2AB4-4757-8C64-B515361D9F67}, version: 1.0.0.2,
> > package: CBADummyInstallerPackageId
> > [13490:74E0][2013-05-08T19:34:47]i325: Registering dependency:
> > {08179914-7fc1-4a0e-b057-df466f422a7d} on package provider:
> > {789E60DC-2AB4-4757-8C64-B515361D9F67}, package:
> > CBADummyInstallerPackageId
> > [9A00:6CA8][2013-05-08T19:34:47]i399: Apply complete, result: 0x0,
> > restart: None, ba requested restart:  No
> >
> >
> > Is there something else that I need to set to have it run the 
> > previously installed MSI and display the MSI's UI?
> >
> > --------------------------------------------------------------------
> > --
> > -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> > Databases" is the definitive new guide to graph databases and their 
> > applications. This 200-page book is written by three acclaimed 
> > leaders in the field. The early access version is available now.
> > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. This 200-page book is written by three acclaimed leaders 
> in the field. The early access version is available now.
>
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. This 200-page book is written by three acclaimed leaders 
> in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. This 200-page 
book is written by three acclaimed leaders in the field. The early access 
version is available now. 

Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to