Skip to content
⌘ NSIS Forum Archive

How to unselect with SetSectionFlags?

3 posts

Lenge#

How to unselect with SetSectionFlags?

I am sure this is a really simple question, but I haven't found an answer so far...

I know I can select a given section with:
SectionSetFlags ${MySection} ${SF_SELECTED}
But how do I use SetSectionFlags to UNSELECT a section?

As there is no according flag (at least I haven't found one), I assume that I need to bitwise manipulate the flags value in order to unset the "selected" bit. Right so far? What is the according syntax?
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.