View Single Post
Old 22nd December 2017, 14:11   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,216
"IntOp $0 ${SF_SELECTED} & ${SF_SELECTED}" makes no sense. LogicLib has ${SectionIsSelected} you can use in ${If} and Sections.nsh has macros you can use to manipulate the sections.

NSIS v3+ puts the section id of the changed section in $0 when it calls .onSelChange.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote