run a bat file - Advanced Installer Community

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!

kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

run a bat file

Hi,


I have bat file in my application. i want to run the bat file.

how can i do it in advance installer


Thanks
Kiran
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You can run the BAT file by using a "Launch File or open URL" custom action in the "Custom Actions" page. You can read more about custom actions here:
http://www.advancedinstaller.com/user-g ... -page.html

Note that you can include the BAT file in your installation package and set the "Command line" field of the custom action to:

Code: Select all

"[#test.bat]" (with quotation marks)
where test.bat is your BAT file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”