[wix-users] How does bundle rollback work?
Phill Hogland
phill.hogland at rimage.com
Wed Oct 21 06:41:03 PDT 2015
I also suspect that the 'upgrade' behavior depends on when RemoveExistingProducts was scheduled in the packages.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Wesley Manning
Sent: Wednesday, October 21, 2015 8:32 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How does bundle rollback work?
So the problem is that it is rolling back on an upgrade. Actually doing a search on "burn rollback upgrade" I came across this bug: http://wixtoolset.org/issues/3421/. It says upgraded MSIs are actually uninstalled. Also references http://wixtoolset.org/issues/3190/. It's probably a thorny issue since it's been open since the end of 2011.
But for a new install isn't what burn does basically the equivalent of a clean rollback? Unless you marked packages permanent. The MSI packages should handle all the cleanup for themselves when burn asks them to uninstall.
Wes
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Reuss, Matthias
Sent: October-21-15 3:02 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How does bundle rollback work?
Hi Wesley,
Yes, you described Burn's behaviour.
I have been using multiple-package installations previously, and I have got used to them.
So I was (and am still) very astonished that Burn has not implemented this concept. One consequence of this is that "rollback" of a bundle is not a clean rollback, but the packages that had already been completed before the failure are either uninstalled (on first install) or left on the machine (on upgrade) - I am still going to check the behaviour on uninstall. Anyway, this is not a clean rollback; and this should be clearly stated.
Best regards
Matthias
-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Wesley Manning
Gesendet: Dienstag, 20. Oktober 2015 17:29
An: WiX Toolset Users Mailing List
Betreff: Re: [wix-users] How does bundle rollback work?
I think there may be a misunderstanding.
I don't think you are using Multiple-Package Installations are you? In your original e-mail you said.
" I am afraid that I have not fully understood whether and how Burn puts the MSI installations into a single transaction. Or does Burn intentionally not use Windows Installer's transaction processing? Is there some documentation about that?"
I don't think burn does that (i.e if you have ordinary or pre MSI 4.5 MSI packages). Burn is a separate concept outside of MSI. To rollback doesn't burn just uninstall the MSI packages it already installed (by calling the MSI using the uninstall on the command line)? The MSI that failed (i.e. caused burn to roll back) automatically rolls back everything it did so burn doesn't have to worry about that one.
Wes
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Reuss, Matthias
Sent: October-20-15 3:12 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How does bundle rollback work?
Hi Rob,
Thank you for pointing that out.
However, I think I need to understand what is really going on when rolling back a bundle. As of now, I don't use rollback boundaries, but I do not think that rollback boundaries are an essential point. Is there any documentation of bundle rollback behaviour?
Best regards,
Matthias
-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Rob Mensching
Gesendet: Montag, 19. Oktober 2015 18:34
An: WiX Toolset Users Mailing List
Betreff: Re: [wix-users] How does bundle rollback work?
We hit a series of issues with Multiple-Package Installations (one I vaguely remember is strange interaction if you have 32-bit and 64-bit packages in the same transaction) that discouraged us from finishing the use. You can see most of the functionality in Burn but it isn't completed.
Fundamentally, we haven't had much luck with any Windows Installer v4.5+ features and since the Windows Installer team isn't fixing them we tend to avoid those features. If we use them, we always add a fallback since our confidence is so low that we're really just waiting for them to fail.
_____________________________________________________________
Short replies here. Complete answers over there: http://www.firegiant.com/
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Wesley Manning
Sent: Monday, October 19, 2015 6:45 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How does bundle rollback work?
I use burn as well but still not that knowledgeable on it inners. Never heard of Multiple-Package Installations but burn doesn't use it anyways. If you have no rollback boundaries then I thought burn will rollback all your packages except those marked permanent. A rollback is just an uninstall if I recall. So all the MSIs, etc in your burn package will be uninstalled.
I do remember rollback being talked about before and there being issues but I can't remember now. Maybe what you see is how it works.
Hopefully someone knowledgeable will speak up. :)
Wes
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list