Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed registry key attribute names and explanation

...

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
langxml
titleAssigning a dynamic variable value from the Windows registry
<dynamicvariables>
    <variable name="RegistryReadTest" checkonce="true"
              regkey="HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment"
              regvalue="Path"/>
</dynamicvariables>

...