Mirakulix
9th November 2004 12:54 UTC
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?
Afrow UK
9th November 2004 18:33 UTC
!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
Mirakulix
9th November 2004 19:00 UTC
Cool, this works fine in the PRE function. Thanks a lot.