lzerman
Posts: 2
Joined: Fri Dec 30, 2005 4:59 am

Launched install file with a commandline parameter.

At the end of the installation process I need to launch the installed file (.EXE) with a commandline parmeter ("setup") so it can register itself with another already installed program. It is an add-on attachement. I have experimeted with all of the differenct combinations of custom actions until I am blue in the face. I can get it to run the file fine, but as soon as I want it to do it with a command line parameter, the install fails.

Thank you for your assistance,

Leonard
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi Leonard,

You should use an Installed type of custom action. You can specify the command line for the executable.

For more information on this please visit:
http://www.advancedinstaller.com/user-g ... led-action

Be careful to schedule this custom action after the files have been installed on the disk. The recommended place would be on the "Commit" standard action.

Hope this helps.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”