|
|
#1 |
|
Junior Member
Join Date: Jul 2005
Posts: 2
|
passing parameters to app in MUI_FINISHPAGE_RUN
Hi all, is there a way to pass some parameters to my application. These are working fine for creating the shortcuts with the installer as below
CreateShortCut "$SMPROGRAMS\Bla Bla \linky.lnk" "$INSTDIR\app.exe" " --opt t" "$INSTDIR\VC.ico" But when it comes to launching the app with MUI_FINISHPAGE_RUN I can't seem to find the correct syntax to get the app to run or not cause the compiler to fail. This one fails to launch the application !define MUI_FINISHPAGE_RUN "$INSTDIR\app.exe --opt t" This one causes the compiler to choke. !define MUI_FINISHPAGE_RUN "$INSTDIR\app.exe" " --opt t" Any help in getting the above lines correct so that "--opt t" is added to the app.exe when launched at the end of the installation? Many thanks for your time. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Oct 2003
Posts: 178
|
can you have it launch the lnk file instead?
|
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Use MUI_FINISHPAGE_RUN_PARAMETERS.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|