Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-18 Thread Blair Murri
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 lt; 
 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


Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-18 Thread Wang, Miaohsi
Hi Blair,

Thank you for your help. The log file seems to indicate that the installation 
completed successfully, as shown below by the last part of the log file. Please 
let me know what else to look for.

Thanks a lot,
Miaohsi

MSI (s) (48:B8) [15:30:06:234]: Executing op: ProductPublishClient(,,)
MSI (s) (48:B8) [15:30:06:234]: Executing op: 
SourceListRegisterLastUsed(SourceProduct={3A9FC03D-C685-4831-94CF-4EDFD3749497},LastUsedSource=C:\Documents
 and Settings\All Users\Application Data\Package 
Cache\{3A9FC03D-C685-4831-94CF-4EDFD3749497}v3.5.8080.0\Redist\)
MSI (s) (48:B8) [15:30:06:234]: Entering 
CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (48:B8) [15:30:06:234]: Specifed source is already in a list.
MSI (s) (48:B8) [15:30:06:234]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (48:B8) [15:30:06:234]: Machine policy value 'DisableBrowse' is 0
MSI (s) (48:B8) [15:30:06:234]: Machine policy value 'AllowLockdownBrowse' is 0
MSI (s) (48:B8) [15:30:06:234]: Adding new sources is allowed.
MSI (s) (48:B8) [15:30:06:234]: Set LastUsedSource to: C:\Documents and 
Settings\All Users\Application Data\Package 
Cache\{3A9FC03D-C685-4831-94CF-4EDFD3749497}v3.5.8080.0\Redist\.
MSI (s) (48:B8) [15:30:06:234]: Set LastUsedType to: n.
MSI (s) (48:B8) [15:30:06:234]: Set LastUsedIndex to: 1.
MSI (s) (48:B8) [15:30:06:234]: Executing op: 
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=9977845)
MSI (s) (48:B8) [15:30:06:296]: User policy value 'DisableRollback' is 0
MSI (s) (48:B8) [15:30:06:296]: Machine policy value 'DisableRollback' is 0
MSI (s) (48:B8) [15:30:06:312]: Calling SRSetRestorePoint API. dwRestorePtType: 
0, dwEventType: 103, llSequenceNumber: 62, szDescription: .
MSI (s) (48:B8) [15:30:06:312]: The call to SRSetRestorePoint API succeeded. 
Returned status: 0.
MSI (s) (48:B8) [15:30:06:312]: Unlocking Server
MSI (s) (48:B8) [15:30:06:312]: PROPERTY CHANGE: Deleting UpdateStarted 
property. Its current value is '1'.
Action ended 15:30:06: InstallFinalize. Return value 1.
MSI (s) (48:B8) [15:30:06:312]: Skipping action: SxsUninstallCA (condition is 
false)
MSI (s) (48:B8) [15:30:06:312]: Doing action: RemoveExistingProducts
Action start 15:30:06: RemoveExistingProducts.
Action ended 15:30:06: RemoveExistingProducts. Return value 1.
Action ended 15:30:06: INSTALL. Return value 1.
MSI (s) (48:B8) [15:30:06:328]: MainEngineThread is returning 0
MSI (s) (48:3C) [15:30:06:437]: Destroying RemoteAPI object.
MSI (s) (48:C4) [15:30:06:437]: Custom Action Manager thread ending.
MSI (c) (04:60) [15:30:06:437]: Back from server. Return value: 0
MSI (c) (04:60) [15:30:06:437]: Decrementing counter to disable shutdown. If 
counter = 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (04:60) [15:30:06:437]: PROPERTY CHANGE: Deleting SECONDSEQUENCE 
property. Its current value is '1'.
Action ended 15:30:06: ExecuteAction. Return value 1.
MSI (c) (04:60) [15:30:06:437]: Doing action: SetupCompleteSuccess
Action start 15:30:06: SetupCompleteSuccess.
Action ended 15:31:56: SetupCompleteSuccess. Return value 1.
Action ended 15:31:56: INSTALL. Return value 1.
=== Logging stopped: 6/17/2013  15:31:56 ===
MSI (c) (04:60) [15:31:56:015]: Note: 1: 1707 
MSI (c) (04:60) [15:31:56:015]: Product: Microsoft SQL Server Compact 3.5 SP2 
ENU -- Installation operation completed successfully.

MSI (c) (04:60) [15:31:56:015]: Grabbed execution mutex.
MSI (c) (04:60) [15:31:56:015]: Cleaning up uninstalled install packages, if 
any exist
MSI (c) (04:60) [15:31:56:015]: MainEngineThread is returning 0
=== Verbose logging stopped: 6/17/2013  15:31:56 ===

-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

Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-18 Thread Wang, Miaohsi
-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 lt; 
 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

Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-18 Thread Hoover, Jacob
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

[WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-17 Thread Wang, Miaohsi
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 lt; 
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