InstallShield 2016 ยป InstallScript Language Reference
Lists are used to store groups of related information. In InstallScript, there are two types of lists: string lists and number lists. Two sets of functions are provided to work with lists, one for each list type. List functions that end with "Item" operate with number lists. List functions that end with "String" operate with string lists. You cannot use number list functions on string lists and vice versa. Below are the functions to implement lists in a setup script.
Function |
Description |
Adds an item to a list. |
|
Adds a string to a list. |
|
Returns the number of string or numeric elements in a specified list. |
|
Creates a new string or number list. |
|
Returns the current item in a list. |
|
Returns the current string in a list. |
|
Deletes the current item in a list. |
|
Deletes the current string in a list. |
|
Destroys a list. |
|
Makes the specified item the current item in a numeric list. |
|
Searches a string or number list for a specified value. It returns a value from an additional list that corresponds with the position of the found string in the first list. |
|
Makes the specified item the current item in a string list. |
|
Retrieves the first element from a number list. |
|
Retrieves the first string from a string list. |
|
Retrieves the element after the current element from a number list. |
|
Retrieves the element after the current element from a string list. |
|
Reads a text file into a list. |
|
Sets the current element of a number list. |
|
Sets the current element of a string list. |
|
Uses an index to set the current element of a list. |
|
Indicates whether the specified list is valid. |
|
Indicates whether the specified list is valid and is of the specified type. |
|
Writes a string list to a file. |
|
Writes or appends a string list to a text file as Unicode or ANSI, depending on the constants that you provide for the nOptions parameter. |
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |