Archive: Conditional MUI_FINISHPAGE_SHOWREADME_NOTCHECKED


Conditional MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
Hi,

I'm abusing the show readme checkbox as a "register now" checkbox. It should be checked by default, only if the user is not already registered. How can I change the status of the MUI_FINISHPAGE_SHOWREADME box?


!define MUI_PAGE_CUSTOMFUNCTION_SHOW "checkRegistration"
!insertmacro MUI_PAGE_FINISH

Function checkRegistration
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "0"
FunctionEnd


You might also want to try using the code in the Pre custom function, and changing the Field number from 4 to 5.

-Stu

Cool, this works fine in the PRE function. Thanks a lot.