Msi Error 2762.cannot Write Script Record
4, 20050 Share 0 0 QuestionWhat would be the best way to diagnose error 2762 "Cannot write script record. Transaction not started."? Answer Usually means that your InstallExecuteSequence table isn't authored correctly. Actions that generate script opcodes have to be sequenced between InstallInitialize & InstallFinalize. Validation will catch this quite often (Orca's Tools menu has this option & cmd line version is msival2) CustomAction table: CA_CommitHelpTransactionNoRB.3643236F_FC70_11D3_A536_0090278A1BB8 3137 BIN_File_46001 CommitTransaction
InstallExecuteTable: InstallInitialize 3000 InstallFinalize 8100 CA_CommitHelpTransactionNoRB.3643236F_FC70_11D3_A536_0090278A1BB8 ( RollbackDisabled ) 8101 In this case, there is a custom action of type 3137 = 0xc41 = 0x800 + 0x400 + 0x40 + 0x1 0x800 = msidbCustomActionTypeNoImpersonate 0x400 = msidbCustomActionTypeInScript 0x40 = msidbCustomActionTypeContinue 0x1 = msidbCustomActionTypeDll A deferred custom action was not sequenced between InstallInitialize and InstallFinalize. Content credit also belongs to Carolyn, MSI Team Dev Lead. You can get other Carolyn insights about developing for Windows Installer from the Windows Installer Chat Archives [Author: Robert Flaming] This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm. Tags Troubleshooting Comments (0) Cancel reply Name * Email * Website Follow UsPopular TagsDesign Pointers Troubleshooting MSI4.5 Frequently Asked Questions Beta Tools Vendors Best Practice Guidelines PDC2005 Win7 Conferences Windows Installer Wish Jobs Introduction Archives September 2009(3) August 2009(2) July 2009(1) March 2009(3) February 2009(1) December 2008(1) November 2008(2) June 2008(3) May 2008(2) April 2008(8) All of 2009(10) All of 2008(23) All of 2007(31) All of 2006(20) All of 2005(100) Privacy & Cookies Terms of Use Trademarks © 2016 MicrosoftProblems Search Windows Installer Error 2762 Having trouble running Advanced Installer? Got a bug to report? Post it all here. Post Reply Search Advanced search 3 posts • Page 1 of 1 mikd Posts: 42 Joined: Fri Aug 15, 2008 6:09 pm Windows Installer Error 2762 Quote Postby mikd » Wed Sep 10, 2008 10:12 am 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 https://blogs.msdn.microsoft.com/windows_installer_team/2005/09/04/what-would-be-the-best-way-to-diagnose-error-2762-cannot-write-script-record-transaction-not-started/ the problem with it?Regards,Mikhail Top Cosmin Posts: 5797 Joined: Tue Jul 10, 2007 6:39 pm Contact: Contact Cosmin Website Re: Windows Installer Error 2762 Quote Postby Cosmin » Wed Sep 10, 2008 10:29 am 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 http://www.advancedinstaller.com/forums/viewtopic.php?t=8006 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 TeamFollow us: Twitter - Facebook - YouTube Top Ionut Posts: 605 Joined: Tue Nov 22, 2005 11:29 am Contact: Contact Ionut Website Re: Windows Installer Error 2762 Quote Postby Ionut » Wed Sep 10, 2008 8:37 pm 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.
record. Transaction not started Most likely you have sequenced a "deferred" custom action outside of the valid range of "InstallInitialize" and msi error "InstallFinalize" actions. Outside of this range you must change its type to "immediate". An example of an error I have seen is a deferred custom action sequenced with "-InstallFiles", msi error 2762.cannot however this means that MAKEMSI will pick a value as close as possible to 1 but no bigger than that of "InstallFiles"! What was actually meant was "<-InstallFiles" (pick a sequence number below and as close as possible to "InstallFiles"). If the reason is not obvious use "ORCA"" to examine the MSI. Please email me any feedback, additional information or corrections.See this page online (look for updates)MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).Sunday February 28 2016 at 3:45pmVisit MAKEMSI's Home Page
PKI Service Identity Access Manager Shop Online Cyber Security Services Managed Security Services DeepSight Intelligence Incident Response Security Simulation Website Security SSL Certificates Complete Website Security Code Signing Certificates Norton Shopping Guarantee Buy SSL Products A-Z Services Services Home Business Critical Services Consulting Services Customer Success Services Cyber Security Services Education Services Solutions Solutions Home Topics Encryption Everywhere Internet of Things Next Generation Endpoint Office 365 Industries Automotive Cyber Insurance Education Financial Services Global Service Providers Industrial Control Systems Healthcare Retail Government Federal Government State & Local Support Center Technical Support Symantec Connect Buying Programs Upgrades Maintenance & Renewals Training Security Center Security Center Home Blogs ISTR Threats Virus Definitions and Security Updates Removal Tools Partner Find a Partner Become a Partner Login Required Login into Partner Portal Partner Licensing Partner Renewals Partner Training Margin Builder Opportunity Registration Financial Benefits English 中文(简体) 中文(繁體) Česká English Français Deutsch Magyar Italiano 日本語 한국어 Polski Português Pусский Español Site: Symantec Enterprise Small Business Norton United States Search Support Home Support Home MySymantec Licensing Products A-Z SYM16-015 Security Advisory Login Profile Subscriptions Logout Login Forgot Password? Don't have a SymAccount? Create a SymAccount now!' Windows Installer Internal Error 2762 TECH24537 October 6th, 2005 http://www.symantec.com/docs/TECH24537 Support / Windows Installer Internal Error 2762 Did this article resolve your issue? Thank you for your feedback! Provide feedback on this article Request Assistance Print Article Subscribe to this Article Manage your Subscriptions Search Again Situation Receiving