Run applicaiton after silent install
Is it possible to run the application installed when using /S option?
My script already has the MUI_FINISHPAGE_RUN symbol and works fine when the installer is not executed in silent mode.
Thanks.
Archive: Run applicaiton after silent install
Run applicaiton after silent install
Is it possible to run the application installed when using /S option?
My script already has the MUI_FINISHPAGE_RUN symbol and works fine when the installer is not executed in silent mode.
Thanks.
Simply check the installer's command line parameters and execute your application at the end of the installer if that parameter was supplied. Check the command reference and google to find which commands/scripts to use.
Would running it in .onInstSuccess using IfSilent and Exec also work?
Function .onInstSuccess
IfSilent 0 +2
Exec '"$INSTDIR\yourprogram.exe"'
FunctionEnd
Something like that.
Solved
I'm using the solution from redxii.
But the one from MSG seems fine too.
Thank you all.