|2762 - Cannot write script record. Transaction not started|
Most likely you have sequenced a "deferred" custom action outside of the valid range of "InstallInitialize" and "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", 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.