Checkbox for licence agreement/readme
Hi,
I'm trying to put a readme and licence page in an installer and I only want a checkbox for reading the licence agreement, NOT the readme. Trouble is I can only either have a checkbox on both or a checkbox on neither. How can I get around this?
!define MUI_ABORTWARNING
!insertmacro MUI_PAGE_WELCOME
Page custom ShowCustom LeaveCustom
LicenseForceSelection Checkbox "I accept the terms in the license agreement."
!define MUI_LICENSEPAGE_TEXT_BOTTOM "If you accept the terms of the agreement, click the check box below. You must accept the agreement. Click next to continue."
!insertmacro MUI_PAGE_LICENSE "${APP_README}"
!define MUI_PAGE_HEADER_TEXT "Read Me"
!define MUI_PAGE_HEADER_SUBTEXT "Please review the Read Me before proceeding."
!define MUI_LICENSEPAGE_TEXT_BOTTOM "If you have read through the Read Me, click next to continue."
!define MUI_LICENSEPAGE_BUTTON "Next"
LicenseForceSelection off
!insertmacro MUI_PAGE_LICENSE "files\misc\readme.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES