This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Custom Actions.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2008
02:43 AM
Custom Actions.
I am creating a text file and the In-Script Execution is Immediate. The file is getting created .
But when i am writing a custom action to delete a file and In-script execution is "Commit", it gives a error:Error:2762 Cannot Write Script Record. Transaction not started.
Can Any one help me on this?
But when i am writing a custom action to delete a file and In-script execution is "Commit", it gives a error:Error:2762 Cannot Write Script Record. Transaction not started.
Can Any one help me on this?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2008
09:24 AM
That means a deferred action (commit actions are a type of deferred action) was placed outside the valid range of between InstallInitialize and InstallFinalize. (Searching the MSI help for "2762" gives a bit more information.) Perhaps try moving the action?
(As an aside, an action that modifies the system, such as creating a file, should generally be scheduled for deferred execution.)
(As an aside, an action that modifies the system, such as creating a file, should generally be scheduled for deferred execution.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2008
09:36 AM
As a further aside, the following is required reading.
http://www.installsite.org/pages/en/isnews/200108/index.htm
Don't worry if it takes a few reads to understand it, I read it many times before it clicked.
http://www.installsite.org/pages/en/isnews/200108/index.htm
Don't worry if it takes a few reads to understand it, I read it many times before it clicked.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2008
01:20 AM
Thanks Christopher