Write a registry entry

This action lets you write information directly into the 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 the Windows registration database makes it easy for your program to access it later.

Property Name

Data Type

Description

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 you can choose in the list box.

Value

String

This is the data contained by the named entry. You can use variables such as %DESTPATH%.
WriteIntegerBooleanDetermines whether the package should write a dword (integer) or a string value. If you write a dword entry, be sure that the Value property contains a true integer.

Note: all values are automatically overwritten. Be sure that you won't overwrite important information.

Example:

To create the key HKEY_CURRENT_USER\Software\MyCompany\MyWordPad and set its "AppPath" entry to the location that your software was installed to, select hkCurrentUser for the Rootkey and type "Software\MyCompany\MyWordPad" for the Key. Add "AppPath" to the Ident entry, and finally enter %DESTPATH% (the variable which contains the final destination folder) in the Value field.


  Paquet Builder Help - Copyright © G.D.G. Software. All rights reserved.