I'd like to disable (hide & uncheck) the Run checkbox in the finishpage of a MUI installer during runtime.
can somebody tell me what im doing wrong?
the following code doesn't do a thing
The GetdlgItem always return '0'🧟
Somebody have some hints what I'm doing wrong?
!define MUI_PAGE_CUSTOMFUNCTION_SHOW Show_PageFinish_custom
!insertmacro MUI_PAGE_FINISH
Function Show_PageFinish_custom
GetDlgItem $R9 $MUI_HWND 1203 ; run checkbox, see MUI_FINISHPAGE_RUN_TEXT macro
ShowWindow $R9 ${SW_HIDE}
MessageBox MB_OK $R9
# MessageBox MB_OK $MUI_HWND
FunctionEnd