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