developer123
Posts: 2
Joined: Tue Jan 01, 2008 1:21 am

How to run batch file in setup?

I want to run one batch file while I install my program. I want to pass some parameters too. How can I do it in installer?

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

Hi,

This can be done by using a custom action:
http://www.advancedinstaller.com/user-g ... -page.html
http://www.advancedinstaller.com/user-g ... types.html

Depending on the batch file, you can use an Installed, Attached or Launch file or Open URL custom action. Also, you can use the "Show Standard Action" button on the toolbar in the "Custom Actions" page to see the standard steps of the installation (you can add your custom action under the standard action you want).

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

Return to “Common Problems”