Hello,
I am trying to configure AI to detect if a particular driver is installed, and if it isn't run a custom action to install it. I am doing the detection with a powershell script, and that works fine. However, I followed the instructions here: http://www.advancedinstaller.com/user-g ... te-ca.html
for how to run a custom action on a button press. However, when I click the button, nothing happens. It should be running a .vbs script that I have in my project, but nothing is executed.
Under the published events of the button, I have the argument set to "ExecuteScriptCode", which is the name of my custom action. The condition is set to "AI_INSTALL", but I have also tested it with a condition of just "1". Neither works.
Before, I had this custom action set as an action with a sequence to run at the end of the installation, and the custom action would work just fine. However, it doesn't seem to want to work when launched from a button.
Are there any ideas on what could be causing this issue?
As always,
Thanks for the help