Skip to content
⌘ NSIS Forum Archive

MUI_FINISHPAGE_RUN

5 posts

TheAngryPenguin#

MUI_FINISHPAGE_RUN

I would like the .exe I have assigned for MUI_FINISHPAGE_RUN to run automatically without any user intervention whatsover. Is this possible.

TIA.

-TheAngryPenguin
Joost Verburg#
You mean that you don't want a checkbox but always want to run the application?

Then you should execute the application in a custom leave function for the finish page.
kichik#
To do so simply add a function called .onInstSuccess to your script and execute your program in it. For example:
Function .onInstSuccess
Exec '"$INSTDIR\my program.exe"'
FunctionEnd
TheAngryPenguin#
Originally posted by kichik
To do so simply add a function called .onInstSuccess to your script and execute your program in it. For example:
Function .onInstSuccess
Exec '"$INSTDIR\my program.exe"'
FunctionEnd
Thanks. That did the trick.

-TheAngryPenguin