- Docs fixes
- Command help for InstType fix git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2312 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ab6fbe5fc7
commit
06f8b09e29
5 changed files with 8 additions and 8 deletions
|
@ -30,14 +30,14 @@ Stores the text description of the section section_index into the output. If the
|
|||
|
||||
\c section_index inst_types
|
||||
|
||||
Sets the Install Types of the section specified by section_index. Note that the Section Index starts with Zero. Inst_types is a byte. Every bit of it is a flag that tells if the section is in that Install Type or not. For Example you have 3 Install Types and you want that the first section to be included in the Insttypes 1 and 3. Than the command looks like this:
|
||||
Sets the install types the section section specified by section_index defaults to the enabled state in. Note that the section index starts with zero. Every bit of inst_types is a flag that tells if the section is in that install type or not. For example, if you have 3 install types and you want the first section to be included in install types 1 and 3, then the command should look like this:
|
||||
|
||||
\c SectionSetInstTypes 0 5
|
||||
|
||||
because the binary value for 5 is "00000101". The error flag will be set if an out of range section is specified.
|
||||
because the binary value for 5 is "00000101". The error flag will be set if the section index specified is out of range.
|
||||
|
||||
\S2{SectionGetInstTypes} SectionGetInstTypes
|
||||
|
||||
\c section_index user_variable
|
||||
\c section_index user_var(output)
|
||||
|
||||
Retrieves the Install Types of a section. See above for a description of how to deal with the output. The error flag will be set if an out of range section is specified.
|
||||
Retrieves the install types flags array of a section. See above explanation about SectionSetInstTypes for a description of how to deal with the output. The error flag will be set if the section index specified is out of range.
|
Loading…
Add table
Add a link
Reference in a new issue