Skip to content
⌘ NSIS Forum Archive

Is this a bug?

2 posts

PAK-9#

Is this a bug?

Hopefully this is actually a bug and not just my bad scripting but the

SectionGetFlags "${SECTION}" $0
IntOp $0 $0 & ${SF_SELECTED}
SectionSetFlags "${SECTION}" $0

Combination used to enable a section doesn't appear to work. I've used it by calling the selectsection macro and by inserting the lines manually but either way it doesnt work.

I tested it out by just trying to enable a section in the .onselchange function, so that theoretically whatever you do that section will be enabled, but it doesnt work. Try it out.