...
Using a dynamic variable assignment from a registry entry is recognized by using the attribute regkey in the variable definition.
Specific attributes:
- keyregkey
The registry entry root key to find the registry value to read from.value - regvalue
The registry value to read from, which is in Microsoft terms equivalent to a key in ordinary INI files.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
<dynamicvariables> <variable name="RegistryReadTest" checkonce="true" regkey="HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment" regvalue="Path"/> </dynamicvariables> |
...