!macro SelectSection SECTIONI think it should be
Push $0
SectionGetFlags "${SECTION}" $0
IntOp $0 $0 & ${SF_SELECTED}
SectionSetFlags "${SECTION}" $0
Pop $0
!macroend
IntOp $0 $0 | ${SF_SELECTED}So that all bits (apart from bit 0 which we want to change) are properly preserved.
Salaam/Peace. 🙂