KRedman
Posts: 6
Joined: Tue Jun 18, 2013 3:53 pm
Location: Indiana
Contact: Website

Inconsistent results with New Custom Action Wizard

I'm trying to create a custom action to run a .bat file, but I'm not having any luck. These are some results using the exact same process:
test2.png
test2.png (5.35 KiB) Viewed 4143 times
test3.png
test3.png (5.31 KiB) Viewed 4143 times
This page that I keep getting referred to doesn't seem to be relevant to the Custom Actions anymore. Or am I just doing it wrong?
CustomActions.png
CustomActions.png (91.94 KiB) Viewed 4143 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Inconsistent results with New Custom Action Wizard

Hello,

Indeed the Launch a CMD or BAT file article from our user-guide hasn't been updated to the new user interface that has been implemented in the latest version of Advance Installer.

The <Ai_custac>viewer.exe is automatically called by the application, but it is not displayed to the user anymore.

Now, the “File To Launch” field must contain the path to the file you want to launch (e.g. [#test.bat]), but the “Command Line” field is not mandatory.
The “Working Directory” field is also optional depending on your scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
KRedman
Posts: 6
Joined: Tue Jun 18, 2013 3:53 pm
Location: Indiana
Contact: Website

Re: Inconsistent results with New Custom Action Wizard

Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Inconsistent results with New Custom Action Wizard

You're welcome.

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

Return to “Common Problems”