Archive: License Page & The checkbox


License Page & The checkbox
Hey guys,

i've got a license page with a check box,... like so

!define MUI_LICENSEPAGE_CHECKBOX
!define MUI_LICENSEPAGE_CHECKBOX_TEXT "blah blah blah blah"
!insertmacro MUI_PAGE_LICENSE "license.rtf"

i wanna know how to pre-check the checkbox.

thanks.


Why would you like to pre-check the checkbox? That would make the checkbox pretty useless. The idea of the checkbox is to force the user to actively agree on something instead of just hitting enter.

However, if that's what you want, use FindWindow, GetDlgItem and SendMessage on the show callback function of the license page. This thread explains how.