Reference/SectionIn: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=SectionIn= insttype_index [insttype_index] [RO] This command specifies which install types (see InstType) the current section defaults to the enabled s...")
 
(No difference)

Latest revision as of 13:35, 25 November 2011

SectionIn

insttype_index [insttype_index] [RO]

This command specifies which install types (see InstType) the current section defaults to the enabled state in. Multiple SectionIn commands can be specified (they are combined). If you specify RO as a parameter, then the section will be read-only, meaning the user won't be able to change its state. The first install type defined using InstType is indexed 1, the next 2 and so on.

InstType "full"
InstType "minimal"
 
Section "a section"
SectionIn 1 2
SectionEnd
 
Section "another section"
SectionIn 1
SectionEnd