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!

DeadlyDonger
Posts: 19
Joined: Wed Jan 07, 2015 6:44 pm

Script not running.

I've created a .vbs Script which reads a registry key which the Installer adds and then sets the read value at the end of the installation when the user checks the Checkbox and clicks the finish buttons. The script runs fine locally when doubled clicked. I've added the file using Launch attached file without sequence.

For the Checkbox, I've set a Published Event on the 'Finish' button. It goes: Execute Custom Action. I've selected the .vbs file for the Argument and for the condition I've added AI_INSTALL AND CHECK. After going through the installation, I check the checkbox and click the finish button but nothing in the registry (under HKLM) gets changed leading to the script not running in the installation when checked and button clicked finish.

I've also added another .vbs script to make it run under the uninstall processes ONLY and even that is not running. Either of these scripts aren't running when they are supposed to.

What's the problem here?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Script not running.

Hello,

You can see may response on the following link from the forums Script not running.

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

Return to “Building Installers”