redfish
11th May 2006 01:43 UTC
What does Section -<sectioName> Mean?
Sorry for the posts. I have been saving up my questions until i got a successful NSIS script going. I have been using NSIS for 3 days now.
I note in examples that sections sometimes have this:
Section -SectionName
or this:
Section "SectionName" SectionName
What is the difference? I currently use the -SectionName syntax because of recent examples but i do not know why.
Comperio
11th May 2006 03:14 UTC
the minus sign (as in Section -SectionName) indicates a hidden section. This means that the section won't show on the on the components page.
Section "SectionName" SectionName
This is a section named "SectionName". The trailing text (SectionName with no quotes) denotes the section index output. The index is used to refer to the section.
Take a look at the Section command in the NSIS help manuals for a more detailed explanation.