Skip to content
⌘ NSIS Forum Archive

License Page & The checkbox

2 posts

TakamuraSan#

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.
kichik#
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.