Reference/SectionSetText: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=SectionSetText= section_index section_text Sets the description for the section section_index. If the text is set to "" then the section will be hidden. The error flag will b...")
 
mNo edit summary
 
Line 12: Line 12:
   SectionSetText ${test_section_id} $WINDIR
   SectionSetText ${test_section_id} $WINDIR
FunctionEnd</highlight-nsis>
FunctionEnd</highlight-nsis>
''Command introduced with NSIS v1.98''

Latest revision as of 20:50, 4 June 2013

SectionSetText

section_index section_text

Sets the description for the section section_index. If the text is set to "" then the section will be hidden. The error flag will be set if an out of range section is specified.

Section "" test_section_id
SectionEnd
 
Function .onInit
  # change section's name to $WINDIR
  SectionSetText ${test_section_id} $WINDIR
FunctionEnd

Command introduced with NSIS v1.98