Archive: Disable Checkbox on finish page


Disable Checkbox on finish page
Hey everybody,

I was wondering if it's possible to disable the 'run program' checkbox after the installation, and force the application to launch anyway.. Even the finish page is not that important for me. what i wanna do, is just start the program after install.

I saw two threads on that topic, but I'm very new to NSIS and unfortunately don't really understand what people are talking about :confused:

best,
marcel


!define MUI_PAGE_CUSTOMFUNCTION_PRE FinishPre
!insertmacro MUI_PAGE_FINISH

Function FinishPre
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field #" "Flags" "DISABLED"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field #" "State" "1"
FunctionEnd


Note that I haven't given you the field number (#) because I don't know what it is so you shall I have to find out.

Stu

Or just remove !insertmacro MUI_PAGE_FINISH and just use Exec in the last section. This way, there'll be no finish page and the program will always execute.