From
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372835%28v=vs.85%29.aspx[
^]
2762
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.
You shouldn't do anything before launch conditions.
A typical installation process is:
- Test launch conditions (can the software be installed at all)?
- Gather information from the user, if relevant.
- Do things to the machine (copy files, modify the registry, add environment variables, create shortcuts...). These actions may be executed in a separate ('server') MSIEXEC.EXE process, that runs with elevated authority.
- Commit.
Depending on what your custom action does, you should sequence it in the right position.
Hope this helps,
Pablo.