Reference/InstTypeSetText
From NSIS Wiki
Jump to navigationJump to search
InstTypeSetText
inst_type_idx text
Sets the Text of the specified InstType. If the Text is empty than the InstType is removed. By using a previously unused inst_type_idx number you can create new InstType. To add/remove Section to this new InstType see SectionSetInstTypes. Unlike SectionIn the index is zero based, which means the first install type's index is 0.
InstType a InstType b Function .onInit # set first installation type's name to $WINDIR InstTypeSetText 0 $WINDIR # set second installation type's name to $TEMP InstTypeSetText 1 $TEMP FunctionEnd
Command introduced with NSIS v2.0