[wix-users] Burn automatic rollback on installer failure
tgustafson at solacom.com
Tue Jan 24 07:48:48 PST 2017
I feel like I've read about this somewhere before but I can't find it now. I just wanted to confirm this is expected behaviour.
I've got a burn bundle using out of the box burn functionality.
The bundle installs 3 msi files in order 1, 2, 3.
I do minor upgrade to each of the msi and re-bundle them but this time I've put a custom action in msi #2 which causes the installer to fail.
When I run the this new bundle it does a minor upgrade to 1, starts a minor upgrade to 2 and fails triggering a rollback to both 1 and 2. It never attempts to upgrade 3.
So far all works as I would hope but now I find that I have to go into Add/Remove programs and manually repair products 1 and 2 to get them back to the version they were told to roll back to.
I feel like I've read that the burn engine doesn't do the automatic repair by design but I can't remember where I saw that. If this is the case and I want the engine to automatically repair would I have to write my own custom bootstrapper code or am I missing something to automatically get this functionality?
One last piece of the puzzle that might be important is I am using <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." Schedule="afterInstallExecute" />
In my msi.
More information about the wix-users