[wix-users] How does bundle rollback work?
Wesley Manning
wmanning at dynagen.ca
Mon Oct 19 06:44:42 PDT 2015
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
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Reuss, Matthias
Sent: October-19-15 7:09 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How does bundle rollback work?
Thank you for the links.
I have never used a RollbackBoundary so far. But as far as I see, it only defines which packages to roll back in case of failure of one package and which packages to keep even if one (other) package fails. I do not see a connection to the way Burn handles the actual rollback.
Does Burn always start separate "rollback packages" on bundle rollback, or is it possible to do a multi-package rollback in one transaction, as described here:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb736322(v=vs.85).aspx
Best regards
Matthias
-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Farrukh Waheed
Gesendet: Montag, 19. Oktober 2015 09:47
An: WiX Toolset Users Mailing List
Betreff: Re: [wix-users] How does bundle rollback work?
In addition, this article
<https://www.firegiant.com/wix/tutorial/net-and-net/bootstrapping/> also gives hints about RollBackBoundary.
On 19 October 2015 at 00:38, Farrukh Waheed <farrukh1 at gmail.com> wrote:
> You may need to define RollBackBoundary
> <http://wixtoolset.org/documentation/manual/v3/xsd/wix/rollbackboundar
> y.html>
> .
> One good old discussion is here
> <http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-is
> -a-rollback-boundary-td7579098.html>
>
>
> On 19 October 2015 at 00:11, Reuss, Matthias <
> matthias.mr.reuss at sivantos.com> wrote:
>
>> Hi there,
>>
>> I just had a look at a case where an MSI package in a bundle (not the
>> 1st package of the bundle) caused a rollback.
>>
>> From what the log files say, the result is not the rollback of all
>> the MSI packages installed so far (what I would expect for a chained
>> installation) - instead for each of the packages already installed,
>> burn applies a "rollback package", which - at least in my case - is
>> basically an uninstall of the package just installed.
>>
>> This behaviour astonishes me, because I do not see that it cleanlly
>> restores the system to its pre-installation state, what I would
>> expect from a rollback.
>> 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?
>>
>> Best regards
>>
>> Matthias
>>
>> ____________________________________________________________________
>> 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