InstallShield 2019 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The FeatureSetupTypeGetData function retrieves data associated with a specified setup type. You can then use this data for any purpose.
A typical application of FeatureSetupTypeGetData might be to display setup type information in a custom setup type-related dialog. You would call FeatureSetupTypeGetData inside the switch-case statement following the call to WaitOnDialog that displays the custom dialog.
Note • This function cannot be used with script-created feature sets.
Syntax
FeatureSetupTypeGetData ( szFeatureSource, szSetupType, nInfo, nvResult, svResult );
Parameters
Parameter |
Description |
||||||
szFeatureSource |
Specifies the media name of the file media from which data associated with a setup type is to be retrieved. |
||||||
szSetupType |
Specifies the setup type name. This name must be specified exactly as it appears in the InstallShield interface—for example, “Typical”. |
||||||
nInfo |
Specifies the information to retrieve. Pass one of the following predefined constants in this parameter:
|
||||||
nvResult |
Returns a NUMBER or LONG value when nInfo specifies information of that type. |
||||||
svResult |
Returns a STRING value when nInfo specifies information of that type. |
Return Values
Return Value |
Description |
0 |
FeatureSetupTypeGetData was successful. |
< 0 |
FeatureSetupTypeGetData failed. Call FeatureError for additional information. |
See Also
FeatureSetupTypeGetData Example
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |