Table of Contents
Read an entry from the registry
Lets you retrieve information from the Windows Registry. You can for example read information such as the user’s name or the destination directory for your files.
|Property Name||Data Type||Description|
|Ident||String||The named entry within the registry key. Leave this field blank to read the default value associated to the key.|
|Key||String||The key name of the registry entry. Like |
|RootKey||hkKeys||The base key of your registration entry. There is a defined set of Base Keys from which you can choose in the list box.|
|Variable||VarName||The name of the variable whose value will be set to what has been read. If the entry is not found, a blank value is returned.|
Paquet Builder can read the following entry types:
REG_QWORD It automatically converts them to string values when storing them in variables.
Reading destination path from registry
You can use the feature to read the default destination path from the Windows Registry. However do not assign the path to the %DESTPATH% variable which is read-only. First read the path to a specific variable like %MYPATH% and then in the default destination folder field, enter %MYPATH%. For more information about setting the destination folder, please click here.
If you want to read registry data from HKEY_LOCAL_MACHINE, please note that 32-bit packages can’t access HKEY_LOCAL_MACHINE\SOFTWARE directly, but the Wow6432Node key instead. See http://windowsitpro.com/systems-management/whats-wow6432node-under-hkeylocalmachinesoftware-registry-subkey
A workaround is to make a 64-bit package with Paquet Builder.
© G.D.G. Software 2018. All rights reserved.