Re: [WiX-users] Bundle rollback during install is not correct
Initially the plan shows all packages as Absent and not cached. After the supposed-rollback, I launched another install and then immediately cancelled to see what the log showed the state to be. In the example below, A and B are shown as present, while C D and E are all absent. All packages are reported as cached. Is there something I should be doing with the RollbackBoundary element to get the desired behavior? I played around with it a bit but didn't get what I wanted. Thanks, Ian -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, February 15, 2012 7:18 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle rollback during install is not correct Strange. What does the plan show as the state for all these packages? On Tue, Feb 14, 2012 at 11:41 AM, Ian Williams iawil...@microsoft.comwrote: I have wixstdba bundle with MSI packages A, B, C, D, E. They are all marked as vital and the chain explicitly says DisableRollback=no. There are no RollbackBoundary elements, either. I'm using a wix build 3.6.2527.0. During install, if I click the cancel button during package C's installation, I would expect burn to rollback packages A, B, and C, and remove A - E from the cache. 1) After clicking cancel and then confirming, the UI disappears. There is already bug 3431330 open on this. 2) Looking at C's MSI log, it rolled back properly. 3) However, A and B do not rollback, they stay installed and cached. 4) The bundle logs cuts off. The last line is Applying package: C, action Install ... a. In repro attempts I found inconsistent behavior as to where the bundle log stops writing. 5) The bundle stays installed keeps A and B registered. 6) Packages C, D, and E, though not registered with the bundle, are still cached. 7) The bundle still shows up in Programs and Features. If I uninstall, A and B will be removed OK as will the bundle, but the system is left with C, D, and E still cached with no dependencies. If I try and install again, nothing breaks since it just seeing some packages in the cache and uses them, and adds A and B to the cache normally. Repairing the partially installed / rollbacked bundle also installs everything appropriately as I would expect. As you can see from 3-7, it looks like there is one or more bugs here. Before I file a bug I wanted to see if anyone has any thoughts on if I'm doing something wrong in my authoring. I have repro'd this many times, though as I note in 4a the bundle log cuts off at different times though the actual behavior is identical. I found a bunch of similar bugs for rollback during uninstall, but they have mostly been fixed. I didn't see much about rollback during install. Thanks, Ian -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bundle rollback during install is not correct
Strange. What does the plan show as the state for all these packages? On Tue, Feb 14, 2012 at 11:41 AM, Ian Williams iawil...@microsoft.comwrote: I have wixstdba bundle with MSI packages A, B, C, D, E. They are all marked as vital and the chain explicitly says DisableRollback=no. There are no RollbackBoundary elements, either. I'm using a wix build 3.6.2527.0. During install, if I click the cancel button during package C's installation, I would expect burn to rollback packages A, B, and C, and remove A - E from the cache. 1) After clicking cancel and then confirming, the UI disappears. There is already bug 3431330 open on this. 2) Looking at C's MSI log, it rolled back properly. 3) However, A and B do not rollback, they stay installed and cached. 4) The bundle logs cuts off. The last line is Applying package: C, action Install ... a. In repro attempts I found inconsistent behavior as to where the bundle log stops writing. 5) The bundle stays installed keeps A and B registered. 6) Packages C, D, and E, though not registered with the bundle, are still cached. 7) The bundle still shows up in Programs and Features. If I uninstall, A and B will be removed OK as will the bundle, but the system is left with C, D, and E still cached with no dependencies. If I try and install again, nothing breaks since it just seeing some packages in the cache and uses them, and adds A and B to the cache normally. Repairing the partially installed / rollbacked bundle also installs everything appropriately as I would expect. As you can see from 3-7, it looks like there is one or more bugs here. Before I file a bug I wanted to see if anyone has any thoughts on if I'm doing something wrong in my authoring. I have repro'd this many times, though as I note in 4a the bundle log cuts off at different times though the actual behavior is identical. I found a bunch of similar bugs for rollback during uninstall, but they have mostly been fixed. I didn't see much about rollback during install. Thanks, Ian -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bundle rollback during install is not correct
I have wixstdba bundle with MSI packages A, B, C, D, E. They are all marked as vital and the chain explicitly says DisableRollback=no. There are no RollbackBoundary elements, either. I'm using a wix build 3.6.2527.0. During install, if I click the cancel button during package C's installation, I would expect burn to rollback packages A, B, and C, and remove A - E from the cache. 1) After clicking cancel and then confirming, the UI disappears. There is already bug 3431330 open on this. 2) Looking at C's MSI log, it rolled back properly. 3) However, A and B do not rollback, they stay installed and cached. 4) The bundle logs cuts off. The last line is Applying package: C, action Install ... a. In repro attempts I found inconsistent behavior as to where the bundle log stops writing. 5) The bundle stays installed keeps A and B registered. 6) Packages C, D, and E, though not registered with the bundle, are still cached. 7) The bundle still shows up in Programs and Features. If I uninstall, A and B will be removed OK as will the bundle, but the system is left with C, D, and E still cached with no dependencies. If I try and install again, nothing breaks since it just seeing some packages in the cache and uses them, and adds A and B to the cache normally. Repairing the partially installed / rollbacked bundle also installs everything appropriately as I would expect. As you can see from 3-7, it looks like there is one or more bugs here. Before I file a bug I wanted to see if anyone has any thoughts on if I'm doing something wrong in my authoring. I have repro'd this many times, though as I note in 4a the bundle log cuts off at different times though the actual behavior is identical. I found a bunch of similar bugs for rollback during uninstall, but they have mostly been fixed. I didn't see much about rollback during install. Thanks, Ian -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users