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?
FOLLOW US
Get the latest news in Application Packaging