cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
unnikris
Level 2

Error 2762 - After importing InstallShield 10.5 project to InstallShield 2011

Hi,

I have imported an InstallShield 10.5 project to InstallShield 2011. The project in InstallShield 10.5 is being used for regular release builds of the product.

After building the setup files in InstallShield 2011, we are getting the following issue during execution of setup files.

Details:

Error 2762.Cannot write script record. Transaction not started.

Looks like this issue is due to the disorder of built-in custom actions, after importing the InstallShield 10.5 project to InstallShield 2011

Any help on this will be appreciated.

Thanks
Unnikris

Snippet from Log file:

MSI (s) (8C!58) [15:52:51:484]: PROPERTY CHANGE: Adding ISIISUninstall property. Its value is 'C:\DOCUME~1\unnic\LOCALS~1\Temp\IIS4E1.tmp'.
MSI (s) (8C!58) [15:52:51:515]: PROPERTY CHANGE: Adding ISIISRollback property. Its value is 'C:\DOCUME~1\unnic\LOCALS~1\Temp\IIS4E1.tmp'.
MSI (s) (8C!58) [15:52:51:593]: PROPERTY CHANGE: Adding IS_TEMP_PROP_IIS_CONFIG property. Its value is 'C:\DOCUME~1\unnic\LOCALS~1\Temp\IIS4E1.tmp'.
Action ended 15:52:51: ISIISCosting. Return value 1.
MSI (s) (8C:EC) [15:52:51:609]: Doing action: ISSQLServerCosting
Action start 15:52:51: ISSQLServerCosting.
MSI (s) (8C:14) [15:52:51:656]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI4E2.tmp, Entrypoint: ISSQLServerCosting
1: Beginning SQL Server Costing Process...
1: Reading the SQL script data from ISSQLConnection table...
1: ISSQLRequirement table does not exist...
1: Finished SQL Server Costing Process...

1: Setting Costing Info Location ISSQLServerRollbackLoginInfo : C:\WINDOWS\TEMP\~4E3.tmp
MSI (s) (8C!D8) [15:52:53:187]: PROPERTY CHANGE: Adding ISSQLServerRollbackLoginInfo property. Its value is 'C:\WINDOWS\TEMP\~4E3.tmp'.
Action ended 15:52:53: ISSQLServerCosting. Return value 1.
MSI (s) (8C:EC) [15:52:53:281]: Doing action: ISSQLServerRollbackLoginInfo
Action start 15:52:53: ISSQLServerRollbackLoginInfo.
MSI (s) (8C:EC) [15:52:53:312]: Note: 1: 2762
Error 2762.Cannot write script record. Transaction not started.
MSI (s) (8C:EC) [15:54:07:109]: Product: -- Error 2762.Cannot write script record. Transaction not started.

Action ended 15:54:07: ISSQLServerRollbackLoginInfo. Return value 3.
Action ended 15:54:07: INSTALL. Return value 3.


=== Logging stopped: 2/2/2011 15:54:28 ===
MSI (s) (8C:EC) [15:54:28:250]: Windows Installer installed the product. Product Name: . Product Version: 9.0.0.1. Product Language: 1033. Installation success or error status: 1603.

MSI (s) (8C:EC) [15:54:28:296]: Cleaning up uninstalled install packages, if any exist
MSI (s) (8C:EC) [15:54:28:343]: Post-install cleanup: removing installer file 'C:\WINDOWS\Installer\4068a.msi'
MSI (s) (8C:EC) [15:54:28:375]: MainEngineThread is returning 1603
MSI (s) (8C:C0) [15:54:28:468]: No System Restore sequence number for this installation.
MSI (s) (8C:C0) [15:54:28:500]: User policy value 'DisableRollback' is 0
MSI (s) (8C:C0) [15:54:28:531]: Machine policy value 'DisableRollback' is 0
MSI (s) (8C:C0) [15:54:28:609]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (8C:C0) [15:54:28:718]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (8C:C0) [15:54:28:750]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (8C:C0) [15:54:28:781]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (8C:C0) [15:54:28:828]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (8C:C0) [15:54:28:859]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (8C:C0) [15:54:28:906]: Restoring environment variables
MSI (c) (94:FC) [15:54:28:937]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (94:FC) [15:54:28:984]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2/2/2011 15:54:29 ===
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

ISSQLServerRollbackLoginInfo should be sequenced after ISSQLServerRollback. The normal sequence for these actions would be:

InstallInitialize
ISSQLServerRollbackLoginInfo
ISSQLServerRollback


The project upgrader corrects a sequencing issue with these two SQL actions that was present in InstallShield versions older than 2010 (the actions used to be reversed in sequencing). The upgrader only changes the sequence if both of these actions are found, and then corrects the sequence by swapping the sequence numbers.

Resequencing these actions as a new project has them sequenced (see above) should resolve the error for this particular action.
0 Kudos