Skip to content

Write Registry Entries

The Registry Entry Manager lets you configure registry entries that your package will create or modify on the destination computer. It provides a visual interface that simplifies what can also be done with custom actions.

Registry Manager

  1. Add an entry — Click the Add button to open the entry editor dialog.

  2. Edit an entry — Select an entry and click Edit, or double-click the entry directly.

  3. Remove an entry — Select an entry and click Remove, or press DEL.

  4. Import/Export — Use the REG tools button to import or export .reg files.

You can import registry entries from .reg files created with RegEdit (RegEdit.exe).

FormatSupported
REGEDIT 5.0 (Unicode)Yes
REGEDIT 4.0 (Non-Unicode)Yes
Other formatsNo

Only string, dword, and qword values are imported — other entry types are ignored.

The registry entry editor allows you to create or modify individual settings. Refer to the Write a registry entry custom action topic for detailed field explanations.

TypeRegistry Type
StringREG_SZ
Expanded stringREG_EXPAND_SZ
DWORD (32-bit)REG_DWORD
QWORD (64-bit)REG_QWORD

Each registry entry can be assigned to a component. The entry will only be created if the associated component is selected for installation. Select None to always create the entry.

By default, a 32-bit package accesses the 32-bit registry view on WOW64, while a 64-bit package accesses the 64-bit view. ARM64 packages access the native 64-bit registry view, the same as 64-bit packages.

Custom actions for registry modifications have an Access property to specify the desired view:

ValueBehavior
regaDefaultDefault behavior based on the package type
regaWOW64_64KEYAccess a 64-bit registry key from either a 32-bit or 64-bit package
regaWOW64_32KEYAccess a 32-bit registry key from either a 32-bit or 64-bit package

Refer to Microsoft Windows documentation for more details.

Registry entries created through the manager are automatically removed by the uninstaller by default.