[wix-users] How does bundle rollback work?

Wesley Manning wmanning at dynagen.ca
Mon Oct 19 06:47:05 PDT 2015


He's not using a rollback boundary from what I understand.  He's asking how rollback actually works.  It is not working the way he expects it to work.  If you don't have a rollback element in the wix burn will rollback everything except packages marked permanent I understand.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Farrukh Waheed
Sent: October-19-15 9:23 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How does bundle rollback work?

Yes, Rollback occurs in case of error or user cancel installation during the process. Technically, RollBackBoundary tells bundle to which boundary it should rollback. So it depends upon you how you want it to rollback.

For a package to stay permanent, define attribute Permanent='yes' , which is 'no' by default. I'm not sure, if a permanent package would be rolled-back in this case...

On 19 October 2015 at 03:09, Reuss, Matthias <matthias.mr.reuss at sivantos.com
> wrote:

> 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/rollbackbound
> > ar
> > 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/
>

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


More information about the wix-users mailing list