Hi
I want to disable the checkbox in the MUI_FINISHPAGE.
so it will run the app all the time .
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_RUN_TEXT "Run Install Drivers and Settings"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\LICENSE.TXT"
!define MUI_FINISHPAGE_RUN "$INSTDIR\ResetDrv.exe"
in the bold line : i want to display without the checkbox.
Thanks.
Disable the run app checkbox on MUI_FINISHPAGE
6 posts
You can't remove the checkbox, but you can disable it.
call
However, I would really advice you not to disable it, because users won't like it.
If you really need the drivers to be installed, just add another section where you install the drivers, so it will happen during installation.
call
EnableWindow $mui.FinishPage.Run 0 in the Show Callback function of the Finish page.However, I would really advice you not to disable it, because users won't like it.
If you really need the drivers to be installed, just add another section where you install the drivers, so it will happen during installation.
Simply use
ShowWindow $mui.FinishPage.Run ${SW_HIDE} to hide it.That would be extra rude...
Thx
where to put this line ?
where to put this line ?
"in the Show Callback function of the Finish page." <-- you already have the answer.
Also deruiter is correct, you should not force running something. If it's a required part of the installation procedure you need to run it during installation, so on the instfiles page. Anything from the finish page should be optional.
Also deruiter is correct, you should not force running something. If it's a required part of the installation procedure you need to run it during installation, so on the instfiles page. Anything from the finish page should be optional.