InstallShield 2019 » InstallScript Language Reference
The EzConfigGetValue function retrieves the numeric value of a parameter, such as FILES or BUFFERS, from the default system configuration file.
Unless changed by a call to ConfigSetFileName, the default system configuration file is the Config.sys file that was executed by the system during the boot sequence. To make another file the default system configuration file, call ConfigSetFileName. To determine the fully qualified name of the default system configuration file, call ConfigGetFileName.
Note • Do not mix the Ez configuration file functions and the advanced configuration file functions. After calling ConfigFileLoad, you cannot call any of the Ez configuration file functions until you call ConfigFileSave to save the file.
Syntax
EzConfigGetValue ( szRefKey, nvValue );
Parameters
Parameter |
Description |
szRefKey |
Specifies the name of the parameter whose value is to be retrieved. |
nvValue |
Returns the numeric value of the key specified by szRefKey. |
Return Values
Return Value |
Description |
0 |
EzConfigGetValue successfully retrieved the value. |
< 0 |
EzConfigGetValue was unable to retrieve the value. |
See Also
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |