InstallAware for Windows Installer
 

Read Registry

This command reads data from a key in the system registry. It is similar to the Check Registry command which also returns specific error codes if the requested data is not found.

Variable

Type the name of the variable to receive the read value.

Root

Select the root of the read operation using the drop down menu.

Key

Type the name of the key to read from.

Value

Type the value to read. Leave empty to read the default value.

Target Computer (optional, leave empty for local computer)

To read from the local computer, leave this field empty. To read from a remote computer, enter the computer name in this field. The remote computer must have the Remote Registry service enabled and started.

 Notes

  • If the key/value to read from does not exist, or cannot be opened, the variable will hold an empty string. If you need to distinguish between empty values and non-existent values/keys, use the Check Registry command instead.