Write a registry entry
This action lets you write information directly into Windows registry; for example to set initial options for your program or store information about the package’s execution, such as the user’s name or the destination directory. Storing this kind of information in Windows registration database makes it easy for your program to access it later.
|Property Name||Data Type||Description|
|AddUninstRef||Boolean||Indicates whether the registry entry should be removed by the uninstaller or not. By default it is true.|
|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.|
|Value||String||This is the data contained by the named entry. You can use variables such as |
|ValueType||regType||Paquet Builder supports working with four types of registry entries: string (REG_SZ), dword (REG_DWORD and REG_QWORD) and expanded strings (REG_EXPAND_SZ). Choose the type in the list.|
Note: all values are automatically overwritten. Be sure that you won’t overwrite important information.
To create the key
HKEY_CURRENT_USER\Software\MyCompany\MyWordPad and set its
AppPath entry to the location where your software was installed:
Software\MyCompany\MyWordPadfor the Key.
- Finally enter
%DESTPATH%(the variable which contains the final destination folder) in the
© G.D.G. Software 2018. All rights reserved.