On 26-Nov-14 23:45, Nicolás Alvarez wrote: > I'm not sure how to handle rollback. Suppose A.msi is already > installed, I install B.msi, the update-index CA runs, and for some > reason installation fails and rolls back. The correct result is to > have the index with only pluginA.dll in it, as it was before the > installation started. Should the index updater store a backup that I > can restore in rollback? If so, when would that backup be deleted? Or > is it possible in a rollback to rerun the updater *after* pluginB.dll > has been deleted? Yes. Create a rollback custom action that does the same thing as the deferred custom action. You have the easiest case: Do the same thing on install, uninstall, rollback for each, patching, repair.
-- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users