
tnand531.552492396364478E12 asked a question.
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?
(As an aside, an action that modifies the system, such as creating a file, should generally be scheduled for deferred execution.)
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.