I am trying to hide the 'RUN' checkbox on the finishpage on a condition.
Using the following function:
Function HideCheckbox
${If} $InstallationChoice == "deinstall"
GetDlgItem $R9 $MUI_HWND "1203"
ShowWindow $R9 ${SW_HIDE}
${EndIf}
FunctionEnd Defined like this:!define MUI_PAGE_CUSTOMFUNCTION_SHOW HideCheckbox But, the compiler give me a warning:unknown variable/constant "MUI_HWND" detected, ignoring (installatie_keuze.nsh:63) And the function doesn't work.The function is called and the condition is true, but $R9 is always 0
Am I missing something?