We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

darinf
Posts: 1
Joined: Sat Jul 18, 2015 8:36 am

Cannot run script. Transaction not started.

I am new to Advanced Installer.
I have my installer working, but I keep getting this error message, "Cannot run script. Transaction not started."
This always seems to happen on the "InstallExecute" step in the Custom Actions Sequence.
I have tried moving the "InstallExecute" command to multiple locations in the Installation Sequence. No matter where I put it, it will give me the error at that point in the sequence.
Actually I don't even want the InstallExecute action, but I can't remove it.

If I leave the "Execution Condition:" field blank, I get the "Cannot run script. Transaction not started." error.
If I enter pretty much anything in the "Execution Condition:" field, I get the same error.
I did find one thing. If I enter "(NOT VersionNT64)" into the Execution Conditions, I don't get the error. But then on Windows 10, I get an error about not being a supported Windows Version.

Ideally I would like to just remove the action, InstallExecute from the install sequence.

Thanks in advance for your help.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Cannot run script. Transaction not started.

Hello and welcome to Advanced Installer forums,

I'm not sure why you encountered the this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”