FeatureValidate
InstallShield 2022 » InstallScript Language Reference
Project:This information applies to InstallScript projects.
Note:This function cannot be used with script-created feature sets.
The FeatureValidate function validates the password of the file media library or of a specified feature.
Syntax
FeatureValidate ( szMediaLibrary, szFeature, szPassword );
Parameters
| Parameter | Description | 
| szMediaLibrary | Specifies the name of the file media library whose password is to be validated. | 
| szFeature | Specifies the name of the feature. If this parameter is a null string (""), the entire media library is assumed. | 
| szPassword | Specifies the password to be validated. | 
Return Values
| Return Value | Description | 
| 0 | FeatureValidate was successful. | 
| < 0 | FeatureValidate 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