Skip to content
⌘ NSIS Forum Archive

command subsection

4 posts

david33470#

command subsection

Hello every body!
I try to use the command subsection and subsectionend,
but it doesn't work!!!
the compiler tel me :"Invalid command: SubSection"!!!
Tank you to help me if you know my problem!!!!
kichik#
Are you sure you are using NSIS 2?

Creating sub-sections is a new feature of NSIS 2. It doesn't work with NSIS 1.xx.
david33470#
ok tank you

ok. tank you for your answer naw it's works.
But if you or somebody else can help me about the command : "SectionSetFlags" it will be help me a lot, because for this command I don't understand the documentation. in fact in don't really know which integer I have to put in parameter to obtain what I whant?( for exemple a cheked section by default and on read only mode)
tank you for your help!!!!
kichik#
If you have NSIS 2.0a6 have a look at one-section.nsi under your Examples directory. If you have downloaded a0 or a1 have a look here (it is the same file).