AndrewM
Posts: 5
Joined: Tue Aug 16, 2005 10:47 pm

Custom Action After Install -

Hi

I am trying to launch an installed exe from my msi. As per a previous post, I created a shortcut and put in my command line switches. The problem is that the Shortcut is not executing. Is there some kind of step-by-step to achieve this?

Thanks

Andrew
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Andrew,

There are two ways in which you can launch an installed EXE file.

1. Use a "New Installed Custom Action" type of custom action. You could place it under the "Commit" branch.

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

2. Go to the "Dialogs" page and select the "Installation Complete" branch from the tree. Select the "Launch Application at the end of installation" box. In the newly appeared window select the EXE file you want to be launched after installation.


Regards,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
AndrewM
Posts: 5
Joined: Tue Aug 16, 2005 10:47 pm

Ciprian

Thank you for your reply. I have come to that point already, however.. I think my issue is more to do with the proper specification of the command line switches. My intended command line that I need to send is:

myapp.exe /S /YMCL C:\Program Files\SomeFolder\SomeOtherFolder\

Without these switches set, the app just shuts down....

Could you translate that into proper syntax?

Thank you..

Andrew
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Andrew,

If a command line parameter contains spaces it must be placed between quotes(").

So your command line syntax will be like:

myapp.exe /S /YMCL "C:\Program Files\SomeFolder\SomeOtherFolder\"

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”