2014/1/2 Dave Andersen <d.ander...@gmail.com>: > Hello WiX users, > > I tried sending this message via Nabble earlier, but I sent it to the wrong > group and later tried to "move" it, but I think it just dropped into the > void. Apologies if this is a duplicate message. > > I am developing a custom burn bootstrapper application (call that bundle > v1.0). A new requirement is that we want to present an option to allow the > user to skip the upgrade of a particular package (call that package A). > > During the installation of [bundle v2.0], I can handle the PlanPackageBegin > event and set the state for [package A] to RequestState.None, which will > prevent [package A v2.0] from running and replacing [package A v1.0], but > then when the [bundle v1.0] is uninstalled, it will remove the existing > [package A v1.0]. This behavior seems totally reasonable to me, but I > actually want that package to persist. > > The only way I can think of right now to get this to work would be to make > the bootstrapper accept a command-line argument during uninstall which would > indicate whether or not it should remove [package A]. However, with this > scenario, I'm concerned that [package A v1.0] would essentially be orphaned, > so when [bundle v3.0] comes around and the system has [bundle v2.0] with > [package A v1.0], things would just fall apart. > > It seems like ideally, there would be some way to add to the ref-count of > the old [package A v1.0] from [bundle v2.0], but I have no idea if this is > possible, or even a reasonable idea. It seems like the nuances of packaging > are starting to be way over my head at this point. > > I don't need this to work for upgrading already released bundles, but I'd > like to figure out a good solution for going forward.
I think what you want is that bundle v2.0 should install package A v1.0 - which won't actually install it since it's already installed, but will increase the refcount. Disclaimer: I haven't actually used Burn yet myself :) -- Nicolás ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users