Archive: SectionGroup /e


SectionGroup /e
is there a possibility to set the /e switch for a sectiongroup on runtime?

my script detects existing components and uses the UnSelectSection macro when the component exists on the user's computer.

for a better overview on the components-page i'd like to override the /e switch, when none of the components is required (non-expanded sectiongroup).



!define SF_EXPAND 32 ; or !include "sections.nsh"
...
SectionGetFlags ${sg_index} $r5
IntOp $r5 $r5 | ${SF_EXPAND}
SectionSetFlags ${sg_index} $r5