In this first burn log (the problem package is Setup): Planned package: PreConfigure, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register Planned package: Setup, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register Planned package: ApplicationNotes, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register Planned related bundle: {77763087-9b3a-4c2d-bf7b-d6e7a936829d}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
In the second log: Planned related bundle: {f61c09e1-9c08-45d5-b089-367edeea8b99}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None Planned package: ApplicationNotes, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister Planned package: Setup, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister Planned package: PreConfigure, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister The difference seems to be that "state: Obsolete" is not being set for the problem install. Neil -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 28 November 2012 04:20 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn: upgrades What does the plan say? On Tue, Nov 27, 2012 at 4:28 AM, Neil Sleightholm <n...@x2systems.com>wrote: > I have discovered something but not a solution. I have 3 MSIs in my > bundle, 2 work ok but the third doesn't. All are set to > RemoveExistingProducts after InstallValidate (although I have also > tried > InstallExecute) and also AllowSameVersionUpgrades="yes". > > In the burn log for the first phase of the upgrade I see: > Detected related bundle: {2946612d-4a51-4875-810d-509af2b8b7f2}, type: > Upgrade, scope: PerMachine, version: 5.0.327.3582, operation: MajorUpgrade > Detected related package: {5436DA83-7844-4CDE-949B-C724500B9B9A}, scope: > PerMachine, version: 5.0.327.3582, language: 0 operation: MajorUpgrade > Detected related package: {297D2E55-8DC6-4CDD-BCE8-7155798F347A}, scope: > PerMachine, version: 5.0.327.3582, language: 0 operation: MajorUpgrade > Detected related package: {EDBA0FC6-6230-450A-A7CD-80D4619B6E7F}, scope: > PerMachine, version: 5.0.327.3582, language: 0 operation: MajorUpgrade > > This looks correct, in the second burn log I see: > Detected related bundle: {aeceda9c-2609-47a9-ad9e-54412da7ef60}, type: > Upgrade, scope: PerMachine, version: 5.0.327.3631, operation: None > Detected related package: {57D92B79-302E-477B-80D6-DD4697829954}, scope: > PerMachine, version: 5.0.327.3631, language: 0 operation: Downgrade > Detected related package: {261755EE-3281-4CA2-9E9B-A1CD3139908B}, scope: > PerMachine, version: 5.0.327.3631, language: 0 operation: None > Detected related package: {EEC867E6-5FAE-4070-872D-7320656A90F5}, scope: > PerMachine, version: 5.0.327.3631, language: 0 operation: Downgrade > The package that runs as an uninstall is the one with the guid > {261755EE-3281-4CA2-9E9B-A1CD3139908B} and I believe this is because > the operation is detected as "None". > > I thought maybe this was due to the AllowSameVersionUpgrades so I > tried setting that to "no" and changed the version number but that > resulted in exactly the same problem: > Detected related package: {7B2F5DAC-5ACF-4284-A608-19F12B7FE3D5}, scope: > PerMachine, version: 5.1.327.4377, language: 0 operation: Downgrade > Detected related package: {B385A716-0228-48A2-BF73-3CC109596894}, scope: > PerMachine, version: 5.1.327.4377, language: 0 operation: None > Detected related package: {B1D8C809-B25B-42C7-8A28-9AB50827F202}, scope: > PerMachine, version: 5.1.327.4377, language: 0 operation: Downgrade > Again the second package is set to "None". > > I can't think what can be causing this, the package looks identical to > the others, it runs as an upgrade ok on its own it is just within burn > that I see an issue. > > Any suggestions? > > Neil > > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: 27 November 2012 08:53 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Burn: upgrades > > Ok thanks, so if my install is upgrading correctly the uninstall > wouldn't happen? I have RemoveExistingProducts scheduled after > InstallValidate if that matters. > > That gives me something to investigate, I thought my install did > upgrade correctly but I'll investigate further. > > Neil > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: 27 November 2012 08:43 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Burn: upgrades > > The old bundle has to be uninstalled to remove it's registration and > cache information. This is basically the same thing the Windows > Installer does when you schedule RemoveExistingProducts after > InstallFinalize. Burn today does not allow you to schedule the "remove > existing bundles", it's always where it is. > > The real question is why isn't your MSI upgrade upgrading? > > > On Tue, Nov 27, 2012 at 12:20 AM, Neil Sleightholm <n...@x2systems.com > >wrote: > > > I have checked the logs and don't really understand why it is doing > > what it is doing: first it runs the new install, and then it > > uninstalls the cached version. > > > > Why is this second step required? Shouldn't running the install do > > the remove of the existing package? If I was doing this without burn > > I would simply run the new install, is burn suppressing the remove > > existing products? > > > > The reason for needing to know this is that that I am having > > problems upgrading services and I believe it is related to this > > process. The service is not being stopped and/or removed correctly > > (it ends up in a disabled state). > > > > In addition part of my upgrade is to stop running applications and > > then restart when the install is complete, this works fine if I run > > the msi manually but the second uninstall when using burn is > > stopping the application again. > > > > Any help with understanding why burn works like this would be > > greatly appreciated. > > > > Neil > > > > -----Original Message----- > > From: Rob Mensching [mailto:r...@robmensching.com] > > Sent: 27 November 2012 07:57 > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Burn: upgrades > > > > Upgrade bundle runs uninstall of the old bundle to remove it. The > > log files should explain what is going on. > > > > > > On Mon, Nov 26, 2012 at 11:31 PM, Neil Sleightholm > > <n...@x2systems.com > > >wrote: > > > > > Can anyone help with this? > > > > > > -----Original Message----- > > > From: Neil Sleightholm [mailto:n...@x2systems.com] > > > Sent: 22 November 2012 18:46 > > > To: General toolset. (wix-users@lists.sourceforge.net) > > > Subject: [WiX-users] Burn: upgrades > > > > > > When I run an install created with burn that upgrades an existing > > > install I see that burn runs the new MSI install and then the old > > > MSI uninstall. Is this normal? > > > > > > My MSI is written to handle the upgrade so I am not sure why burn > > > is running an uninstall (or even how at it should have been > > > removed) - is this a problem with the way I have create my MSI or bundle? > > > > > > Neil > > > > > > Neil Sleightholm > > > X2 Systems Limited > > > n...@x2systems.com<mailto:n...@x2systems.com > > > > > > > > > ------------------------------------------------------------------ > > > -- > > > -- > > > -------- Monitor your physical, virtual and cloud infrastructure > > > from a single web console. Get in-depth insight into apps, > > > servers, databases, vmware, SAP, cloud infrastructure, etc. > > > Download 30-day Free Trial. > > > Pricing starts from $795 for 25 servers or applications! > > > http://p.sf.net/sfu/zoho_dev2dev_nov > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > -- > > virtually, > > > > Rob Mensching > > http://RobMensching.com LLC > > > > -------------------------------------------------------------------- > > -- > > -------- Monitor your physical, virtual and cloud infrastructure > > from a single web console. Get in-depth insight into apps, servers, > > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > > Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -------------------------------------------------------------------- > > -- > > -------- Monitor your physical, virtual and cloud infrastructure > > from a single web console. Get in-depth insight into apps, servers, > > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > > Free Trial. > > Pricing starts from $795 for 25 servers or applications! > > http://p.sf.net/sfu/zoho_dev2dev_nov > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > virtually, > > Rob Mensching > http://RobMensching.com LLC > > ---------------------------------------------------------------------- > -------- Monitor your physical, virtual and cloud infrastructure from > a single web console. Get in-depth insight into apps, servers, > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------- > -------- Monitor your physical, virtual and cloud infrastructure from > a single web console. Get in-depth insight into apps, servers, > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------- > -------- Monitor your physical, virtual and cloud infrastructure from > a single web console. Get in-depth insight into apps, servers, > databases, vmware, SAP, cloud infrastructure, etc. Download 30-day > Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching http://RobMensching.com LLC ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users