NSIS中当没有需安装组件被选中,下一步按钮为不可用的脚本
; —— 当没有组件被选中时下一步按钮为不可用 ——
Push $0
Push $1
SectionGetFlags ${Section11} $0
IntOp $0 ${SF_SELECTED} & $0
SectionGetFlags ${Section21} $1
IntOp $1 ${SF_SELECTED} & $1
IntOp $0 $1 | $0
SectionGetFlags ${Section22} $1
IntOp $1 ${SF_SELECTED} & $1
IntOp $0 $1 | $0
SectionGetFlags ${Section231} $1
IntOp $1 ${SF_SELECTED} & $1
IntOp $0 $1 | $0
SectionGetFlags ${Section232} $1





