The MajorUpgrade schedule is important for the MSI that failed. If an MSI
will be rolled back, having the original MSI reinstalled is dependent on the
MajorUpgrade element. On the other hand, the first MSI, which installed
fully, will not roll back. At best, when the Chain fails, it will probably
just be uninstalled. I am thinking that right after it was installed, the
old A.msi was removed from the Package Cache (replaced by the upgraded
A.msi). So, I'm not sure that Burn will support reinstalling the older,
replaced package. 

I'm guessing, this is the problem:

- MSI A installs sucessfully
- MSI B fails midway through, triggers rollback of itself and the chain
- MSI B is rolled back and its older version is reinstalled (if MajorUpgrade
is set up to do this)
- MSI A is uninstalled <-- and that's where it ends

Someone with more insight regarding how major upgrades and rollbacks work
could probably say if this is how it works. But I think it has to do with
not keeping the old package in the cache and not having a mechanism to
resurrect it.

You could add Rollback Boundaries to not uninstall A.msi, but that may not
be the behavior you want.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-multiple-MSI-s-don-t-rollback-to-a-working-installed-state-tp7586867p7586885.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to