[wix-users] Burn automatic rollback on installer failure

Tyler Gustafson tgustafson at solacom.com
Tue Jan 24 08:01:07 PST 2017

And I've found where I read about this before:

Sorry for the spam. If anyone knows about any new developments to this please let me know.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tyler Gustafson
Sent: January-24-17 10:49 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Burn automatic rollback on installer failure

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.


WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list