Archive: SubSections


SubSections
Can anyone explain or point me to some examples of how to use the sub sections the right way this is what i have now

SubSection "Whatever' 1.0 Beta" DESC_vdms



Section "-Install Main Program" DESC_corde

SetOutPath "$INSTDIR"
File "whatever.exe"

SectionEnd


Section "Add To Control Panel" DESC_core
do crap here also
SectionEnd

SubSectionEnd

however if i uncheck add to control panel it unchecks the main item

thanks
zman


There is no visible section checked under SubSection "Whatever' 1.0 Beta", if you uncheck the control panel section. Why would you want it to stay checked?


ok let me see if i can explain
I want add to control panel to be auto expanded below whatever beta
how ever they need to be able to select not to use the add to control
panel but must still install whatever beta no matter what since its the main program.


in all reality whatever beta should not even have a check box
should be

Whatever Beta 1.0
|
|_[] Add to control panel


Then make Install Main Program required instead of just invisible. Use SectionIn RO.