Archive: SetSectionFlags question


SetSectionFlags question
i'm conditionally disabling sections in a sectiongroup and hide them aswell. when i click on the sectiongroup to enable all sections, the hidden/disabled sections will be enabled again.. is there a way to avoid this?

i'm using

${UnselectSection} "${Plugins}"
SectionSetText ${Plugins} ""


!macro UnselectSection SECTION
Push $0
SectionGetFlags "${SECTION}" $0
IntOp $0 $0 & ${SECTION_OFF}
SectionSetFlags "${SECTION}" $0
Pop $0
!macroend