Skip to content
⌘ NSIS Forum Archive

Hide a section dynamically

3 posts

fabiochelly#

Hide a section dynamically

Hi,

I would like to hide some sections depending on a license code a user has entered.

The problem is that if I can set a section readonly, I didn't find any way to simply hide the checkbox line.

Is there a way to do it?

!insertmacro SetSectionFlag ${mysection} "0"
or
!insertmacro SetSectionFlag ${mysection} ""
don't work.
Afrow UK#
About 10 topics down...
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.


-Stu
fabiochelly#
Thank you: in fact I already searched in the forums and found this thread but I have read SectionSetFlags instead of SectionSetText and of course it didn't work