I have a custom checkbox page I have made. I need two
things to happen. One is when I check 1 out of 4 of the
checkboxes the other 3 go to "State 0".
My second question is and let me start off by saying, all
the options are going to a pacific directory. Although I
want to give the user the option to choose the directory
if one of the options are chose. So basically how do I make
it so the 'Choose Directory' page only comes up when the
user checks one of the boxes given?
Here is some of the code I figure most of what it will take
to help me with.
Also I am attaching the whole script and the ".ini" file.
Function CheckboxInstallationPage_Function
!insertmacro MUI_INSTALLOPTIONS_READ $R0 "CheckboxInstallationPage.ini" "Field 2" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $R1 "CheckboxInstallationPage.ini" "Field 3" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $R2 "CheckboxInstallationPage.ini" "Field 4" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $R3 "CheckboxInstallationPage.ini" "Field 5" "State"
StrCmp $R0 "1" 0 +2
MESSAGEBOX MB_OK "CheckBox 1"
StrCmp $R1 "1" 0 +2
MESSAGEBOX MB_OK "CheckBox 2"
StrCmp $R2 "1" 0 +2
MESSAGEBOX MB_OK "CheckBox 3"
StrCmp $R3 "1" 0 +2
MESSAGEBOX MB_OK "CheckBox 4"
FunctionEnd
Thanks for any help anyone can be.
-MichaelFlya-