Custom Actions Command Line (Parameters ? ) - Advanced Installer Community
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Custom Actions Command Line (Parameters ? )

Hello,

i have created a custon actions to start in the APPDIR a batch file at the end of the installation (end dialog) to set some installation configuration.
I want to give the installation patch to the batch file. I mean, that the Command Line is prefered to do this, what i want to do with my installer, but it wont be work.

For the reader:
Please explain me, what i want to regard for the Command Line in the Advanced Installer and in my batch file.

Shortly: I want to give my installation patch into a variable in the batch file...

Thank you!!!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom Actions Command Line (Parameters ? )

Hello,

In order to launch a batch file, you can go in the Custom Actions page and add the predefined Launch file custom action.

In the custom action properties, in the File to Launch line just select your batch file. (e.g. [#MyFile.bat]). Also, if you want to launch a BAT file with parameters you can use a similar approach like in our pass parameter to batch file thread.

Please let us know if that helped, otherwise give us more details about your specific scenario.

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

Return to “Common Problems”