RegDBGetAppInfo
InstallShield 2024 » InstallScript Language Reference
Project:
The RegDBGetAppInfo function retrieves from the registry the value of a particular value name under the application information key of your main application. RegDBGetAppInfo is a special registry-related function, designed to work with certain predefined registry keys.
Note:The InstallScript engine currently does not support writing or reading Add or Remove Programs information for a product in the 64-bit part of the registry. Therefore, using the REGDB_OPTION_WOW64_64KEY option with the REGDB_OPTIONS system variable is not supported for this registry function. Enabling the REGDB_OPTION_WOW64_64KEY option has no effect on where registry entries are created by this function.
Syntax
RegDBGetAppInfo ( szName, nvType, svValue, nvSize );
Parameters
Parameter |
Description |
|||||||||||||||
szName |
Specifies the value name of the value to retrieve. |
|||||||||||||||
nvType |
Returns one of the following predefined constants, which identifies the type of data returned in svValue:
|
|||||||||||||||
svValue |
Returns the value of the value name specified in szName. |
|||||||||||||||
nvSize |
Returns the size—in bytes—of the return value. |
Return Values
Return Value |
Description |
0 |
Indicates that the function successfully retrieved the value. |
< 0 |
Indicates that the function was unable to retrieve the value. |
Additional Information
By default, any text that is surrounded by angle brackets—for example, "<my registry entry text>"—in this function’s string arguments is interpreted as a text substitution and is processed accordingly. To disable text substitution processing for the string arguments of registry functions, call Disable with the REGISTRYFUNCTIONS_USETEXTSUBS argument.
See Also