Launch Program after Install
How do I make a tickbox option that asks the user to launch the main program after installtion?
Could someone show me where to look in the docs or the code I need? I'm a real newbie but I get the hang of it fast. Thanks.
Archive: Launch Program after Install
Launch Program after Install
How do I make a tickbox option that asks the user to launch the main program after installtion?
Could someone show me where to look in the docs or the code I need? I'm a real newbie but I get the hang of it fast. Thanks.
Not sure I understand your question, but ...
There is the 'placeholder' function
.onInstSuccess
that is always called at the end of a successful installation. I've used something like:
Function .onInstSuccess
ExecWait '"$INSTDIR\MyApp parameters"'
# may prefer Exec instead of ExecWait
FunctionEnd
Page Components
;;; more statements
Section /o "Run MyApp"
ExecWait '"$INSTDIR\MyApp parameters"'
# may prefer Exec instead of ExecWait
SectionEnd
I'm looking for something like this (except the 'Readme' is 'Launch Program'):
http://img401.imageshack.us/img401/5121/screen4uo.gif
Read the MUI documentation.
It's part of your NSIS help docs.
!define MUI_FINISHPAGE_RUN "program.exe"