Archive: Modern UI Readme


Modern UI Readme
Well I was looking over the system.nsh file because I didn't want the checkbox to default to checked. (I hate opening readme files). So I added this text to the system.nsh file on line 1051. It should be just after

!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "170"

;Set the check state if defined
ifdef MUI_FINISHPAGE_SHOWREADME_NOCHECK
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "0"
!else
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1"
!endif

Now if I want to make the checkbox default to unchecked I just use:
!define MUI_FINISHPAGE_SHOWREADME_NOCHECK

Hopefully Joost will make this part of the normal operation. I really hate having to uncheck the box. This will also work for running programs after the installation.


Please read the documentation.

There is already an option in the Modern UI: MUI_FINISHPAGE_SHOWREADME_NOTCHECKED