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 NameData TypeDescription
AddUninstRefBooleanIndicates whether the registry entry should be removed by the uninstaller or not. By default it is true.
IdentStringThe named entry within the registry key. Leave this field blank to read the default value associated to the key.
KeyStringThe key name of the registry entry. Like SOFTWARE\My App
RootKeyhkKeysThe base key of your registration entry. There is a defined set of Base Keys from which you can choose in the list box.
ValueStringThis is the data contained by the named entry. You can use variables such as %DESTPATH%
ValueTyperegTypePaquet 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:

  1. Select hkCurrentUser for the Rootkey and type Software\MyCompany\MyWordPad for the Key.
  2. Add AppPath to the Ident entry
  3. Set ValueType to REG_SZ
  4. Finally enter %DESTPATH% (the variable which contains the final destination folder) in the Value field.

All available actions

© G.D.G. Software 2018. All rights reserved.