InstallShield 2018 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The FeatureSetData function sets properties and data for the specified feature. Most of the settings correspond to the properties in the Features view.
Syntax
FeatureSetData ( szFeatureSource, szFeature, nInfo, nData, szData );
Parameters
Parameter |
Description |
||||||||||||||||||||||||||||||
szFeatureSource |
Specifies the media name of the script-created feature set or (in InstallScript projects) file media library that contains the feature for which properties and data are to be set. |
||||||||||||||||||||||||||||||
szFeature |
Specifies the name of the feature. For more information about specifying features and subfeatures in InstallScript, see Specifying Features and Subfeatures in Function Calls. |
||||||||||||||||||||||||||||||
nInfo |
Specifies the type of information to be set. Pass one of the following predefined constants in this parameter:
TRUE: The feature is visible. FALSE: The feature is not visible.
TRUE: Select the feature. FALSE: Do not select the feature.
|
||||||||||||||||||||||||||||||
nData |
Specifies a numeric value to set when the information indicated by nInfo is numeric. |
||||||||||||||||||||||||||||||
szData |
Specifies a string value to set when the information indicated by nInfo is a string. |
Return Values
Return Value |
Description |
0 |
FeatureSetData was successful. |
< 0 |
FeatureSetData failed. Call FeatureError for additional information. You can obtain the error message text associated with a large negative return value—for example, -2147024891 (0x80070005)—by calling FormatMessage. |
See Also
InstallShield 2018 Help LibrarySeptember 2018 |
Copyright Information | Flexera |