Skip to content
⌘ NSIS Forum Archive

Checkbox

3 posts

ksb122#

Checkbox

I cant seem to find a simple solution to this:

When the program loads up(.oninit) checks a condition, depending on that condition sets a checkbox as either on or off.

Any help is appreciated, thank you.
Joel#
InstallOptions docs...you can see how to write in the ini...
For example:

WriteINIStr "INIPath" "Field_number_of_checkbox" "state" "0"
Afrow UK#
Or with Modern UI,
!insertmacro MUI_INSTALLOPTIONS_WRITE "INIFile.ini" ...

!insertmacro MUI_INSTALLOPTIONS_READ $Var "INIFile.ini" ...

Stu