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. Thanks to anyone who read this far. I'd appreciate any ideas about how this might be done, and sorry for the long-winded question :) -Dave Andersen -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/selectively-upgrading-a-package-in-burn-tp7591570.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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