Windows Installer Error 2762 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mikd
Posts: 42
Joined: Fri Aug 15, 2008 6:09 pm

Windows Installer Error 2762

Hi!

I get this error when I try to modify my install. Install and uninstall work fine.

The problem disappears when I remove Custom Action (VBScript inline).
It is in InstallExecuteSequence/InstallInitialize. Here is the text of the script:

Dim Ver : Ver = Split(Session.Property("ProductVersion"), ".") : Session.Property("ProductVer") = Ver(0) & "." & Ver(1)

What is the problem with it?

Regards,
Mikhail
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Windows Installer Error 2762

Hi Mikhail,

I'm not sure if this error is caused by the VBScript. The error means: "Cannot write script record. Transaction not started."

"The InstallExecuteSequence may have been authored incorrectly. Actions that change the system must be sequenced between the InstallInitialize and InstallFinalize actions. Perform package validation and check for ICE77."

Can you please send us the AIP which shows this error to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: Windows Installer Error 2762

Hi Mikhail,

I have managed to reproduce the problem after investigating the AIP file you have sent and it seems that it is due to a bug in Advanced Installer.

Basically, some AI Custom Actions end up having the same sequences in the InstallExecuteSequence table (inside the MSI database) when the "Include install files in EXE" Bootstrapper option is used.

This bug will be fixed in the next Advanced Installer version, scheduled at the end of this month. Until then, start from a new project and do not use the Bootstrapper option I have mentioned above. Thank you for bringing this to our attention.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”