RegistryValue Method

[This is preliminary documentation and subject to change.]

This is the RegistryValue method of the MsiInstall object.

Syntax

object.RegistryValue(root, key, value)

Parts

object
MsiInstall object.
root
The registry root, which is either a numeric root key or a string machine name.
key
A string containing the complete key path from the root.
value
This optional parameter designates which associated value to return for the specified key. The value is one of the following:
Value Description
Missing or empty Returns a boolean designating whether the key exists.
String Returns the data associated with the named value, fails if the value name is non-existent.
Positive integer Returns the 1-based enumerated value name, it is empty if non-existent.
Negative integer Returns the 1-based enumerated subkey name, this is empty if non-existent.
Zero integer Returns the string class name for the designated key.