Reference/SectionIn

From NSIS Wiki
Jump to navigationJump to search

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