Yes, You may want to have a look at the RollbackBoundary element. -----Original Message----- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: Tuesday, June 18, 2013 11:24 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn
Hi Blair, Sorry, I was looking at the wrong file. Please ignore my previous mail. Below is the part of the logging that you wanted to take a look. I can see a few errors here, including my install program Client.msi. Can the failure of Client.msi installation cause the setup prerequisite to rollback as well? Thanks, Miaohsi [0A30:0D24][2013-06-17T15:29:39]: Planned package: Netfx35Sp1, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: Yes, dependency: None [0A30:0D24][2013-06-17T15:29:39]: Planned package: MSSQL_CE35SP2, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: Yes, dependency: None [0A30:0D24][2013-06-17T15:29:39]: Planned package: Client.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register [0A30:0D24][2013-06-17T15:29:39]: Planned related bundle: {709da84e-05e6-4d0b-ad74-789870e6a392}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [0A30:0D24][2013-06-17T15:29:39]: Planned related bundle: {88f243f3-5d37-4627-a740-d7a861b15368}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None [0A30:0D24][2013-06-17T15:29:39]: Plan complete, result: 0x0 [0A30:0D24][2013-06-17T15:29:39]: Apply begin [0704:01E8][2013-06-17T15:29:40]: Creating a system restore point. [0704:01E8][2013-06-17T15:29:43]: Created a system restore point. [0A30:0D24][2013-06-17T15:29:43]: Caching bundle from: 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{48d8ba7a-52c3-4702-8890-3034944c7710}\.be\Setup.exe' to: 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Package Cache\{48d8ba7a-52c3-4702-8890-3034944c7710}\Setup.exe' [0A30:0D24][2013-06-17T15:29:43]: Registering bundle dependency provider: {48d8ba7a-52c3-4702-8890-3034944c7710}, version: 4.3.0.0 [0704:0554][2013-06-17T15:29:51]: Verified acquired payload: MSSQL_CE35SP2 at path: C:\Documents and Settings\All Users\Application Data\Package Cache\.unverified\MSSQL_CE35SP2, moving to: C:\Documents and Settings\All Users\Application Data\Package Cache\{3A9FC03D-C685-4831-94CF-4EDFD3749497}v3.5.8080.0\Redist\SSCERuntime_x86-ENU.msi. [0A30:06C4][2013-06-17T15:29:51]: Verified existing payload: Client.msi at path: C:\Documents and Settings\Administrator\Local Settings\Application Data\Package Cache\{75F83A92-AC6A-4845-946C-0B4A1DDB1999}v1.0.0.0\Client.msi. [0704:01E8][2013-06-17T15:29:51]: Applying execute package: MSSQL_CE35SP2, action: Install, path: C:\Documents and Settings\All Users\Application Data\Package Cache\{3A9FC03D-C685-4831-94CF-4EDFD3749497}v3.5.8080.0\Redist\SSCERuntime_x86-ENU.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"' [0704:01E8][2013-06-17T15:31:56]: Registering package dependency provider: {3A9FC03D-C685-4831-94CF-4EDFD3749497}, version: 3.5.8080.0, package: MSSQL_CE35SP2 [0A30:0D24][2013-06-17T15:31:56]: Applied execute package: MSSQL_CE35SP2, result: 0x0, restart: None [0A30:0D24][2013-06-17T15:31:56]: Applying execute package: Client.msi, action: Install, path: C:\Documents and Settings\Administrator\Local Settings\Application Data\Package Cache\{75F83A92-AC6A-4845-946C-0B4A1DDB1999}v1.0.0.0\Client.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"' [0A30:0D24][2013-06-17T15:31:56]: Error 0x80070643: Failed to install MSI package. [0A30:0D24][2013-06-17T15:31:56]: Error 0x80070643: Failed to configure per-user MSI package. [0A30:0D24][2013-06-17T15:31:56]: Applied execute package: Client.msi, result: 0x80070643, restart: None [0A30:0D24][2013-06-17T15:31:56]: Error 0x80070643: Failed to execute MSI package. [0A30:0D24][2013-06-17T15:31:56]: Skipped rollback of package: Client.msi, action: Uninstall, already: Absent [0A30:0D24][2013-06-17T15:31:56]: Applied rollback package: Client.msi, result: 0x0, restart: None [0704:01E8][2013-06-17T15:31:56]: Applying rollback package: MSSQL_CE35SP2, action: Uninstall, path: C:\Documents and Settings\All Users\Application Data\Package Cache\{3A9FC03D-C685-4831-94CF-4EDFD3749497}v3.5.8080.0\Redist\SSCERuntime_x86-ENU.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"' [0704:01E8][2013-06-17T15:32:00]: Removed package dependency provider: {3A9FC03D-C685-4831-94CF-4EDFD3749497}, package: MSSQL_CE35SP2 [0A30:0D24][2013-06-17T15:32:00]: Applied rollback package: MSSQL_CE35SP2, result: 0x0, restart: None [0704:01E8][2013-06-17T15:32:00]: Removing cached package: MSSQL_CE35SP2, from path: C:\Documents and Settings\All Users\Application Data\Package Cache\{3A9FC03D-C685-4831-94CF-4EDFD3749497}v3.5.8080.0\ [0A30:0D24][2013-06-17T15:32:00]: Removed bundle dependency provider: {48d8ba7a-52c3-4702-8890-3034944c7710} [0A30:0D24][2013-06-17T15:32:00]: Removing cached bundle: {48d8ba7a-52c3-4702-8890-3034944c7710}, from path: C:\Documents and Settings\Administrator\Local Settings\Application Data\Package Cache\{48d8ba7a-52c3-4702-8890-3034944c7710}\ [0A30:0D24][2013-06-17T15:32:00]: Apply complete, result: 0x80070643, restart: None, ba requested restart: No [0A30:0D24][2013-06-17T15:32:02]: Shutting down, exit code: 0x80070643 -----Original Message----- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, June 18, 2013 2:01 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn The burn log (look for IntelaTrac_20130617152938.log) will tell you which package's error caused the rollback. Then you can look in that package's log to see why it failed. Blair > From: miaohsi.w...@invensys.com > To: wix-users@lists.sourceforge.net > Date: Mon, 17 Jun 2013 18:53:24 -0400 > Subject: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 > Burn > > Hello, > > I am trying to include the MS SQL CE 3.5 SP2 as part of my setup > prerequisites. However, this part rolls back after it completes. I turned on > the DisplayInternalUI to see the last dialog box of the installation. After > that, MSSQL CE got uninstalled and I got two install log files in the end: > IntelaTrac_20130617152938_0_MSSQL_CE35SP2.log > IntelaTrac_20130617152938_0_MSSQL_CE35SP2_rollback.log > > I could not tell what was causing the rollback from the log files. Below is > the code I put in for this work. Any help will be highly appreciated. > > Thanks a lot, > Miaohsi > > <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL > Server Compact Edition\v3.5\ENU" Value="DesktopRuntimeVersion" > Variable="SQLCEVersion" /> > <PackageGroup Id="MSSQL_CE35SP2"> > <MsiPackage Id="MSSQL_CE35SP2" > Cache="no" > Compressed="yes" > DisplayInternalUI="yes" > Vital="yes" > Name="Redist\SSCERuntime_x86-ENU.msi" > SourceFile="..\Redist\SSCERuntime_x86-ENU.msi" > InstallCondition="(NOT SQLCEVersion) OR (SQLCEVersion < > v3.5.8080.0)"> > </MsiPackage> > </PackageGroup> > > > > *** Confidentiality Notice: This e-mail, including any associated or attached > files, is intended solely for the individual or entity to which it is > addressed. This e-mail is confidential and may well also be legally > privileged. If you have received it in error, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then delete > this message from your system. Please do not copy it or use it for any > purposes, or disclose its contents to any other person. This email comes from > a division of the Invensys Group, owned by Invensys plc, which is a company > registered in England and Wales with its registered office at 3rd Floor, 40 > Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of > European legal entities within the Invensys Group, please select the Legal > Entities link at invensys.com. > > > You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail > recept...@invensys.com. This e-mail and any attachments thereto may be > subject to the terms of any agreements between Invensys (and/or its > subsidiaries and affiliates) and the recipient (and/or its subsidiaries and > affiliates). > > ---------------------------------------------------------------------- > -------- 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 ------------------------------------------------------------------------------ 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 *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please select the Legal Entities link at invensys.com. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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