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!

killdashnine
Posts: 2
Joined: Fri Jan 19, 2007 12:25 am

Problems with Batch Files

Hi Everyone,

I'm really pleased with this application, however I need to find some help with regards to running an executable with command-line options.

In this case, I'm installing a driver. The method for this is straightforward: Run an EXE followed by a series of command-line options.

I've tried this repeatedly to no avail. It seems like a command shell appears, but hesitates and immediately disappears. Obviously I'm either not getting something right, or this is simply not possible.

Can anyone please provide some guidance? I've tried most everything in the manual with no luck.

Thanks,

killdashnine
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You can run a EXE with command line by using a custom action like this:

Switch to "Custom Actions" page and add a "New Installed Custom Action" under "Install" section and select the EXE you want to be executed. You can type the command line in the "Command Line" field.

Read more about custom action here:
http://www.advancedinstaller.com/user-g ... -page.html

Hope this helps.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”