Set Checkbos state?
Hello all
I have started to use Nsis for the first time and got most of it to do what I require.
However I have 2 sections that the user can choose or not as the case may be to install. THe checkboxes are checked by default but I want them to be unchecked.
Here is a sample of the code.
; Optional section (can be disabled by the user)
Section "Java for 2000/XP ONLY"
setOutPath $INSTDIR
# define what to install and place it in the output path
ExecWait '"$INSTDIR\jre6.exe"'
Delete $INSTDIR\jre6.exe
SectionEnd
;--------------------------------------------------
; Optional section (can be disabled by the user)
Section "Java for 98 ONLY"
ExecWait '"$INSTDIR\jre15.exe"'
Delete $INSTDIR\jre15.exe
SectionEnd
Thanks
Wayne