You can add registry keys and values to the install package in the Registry page. You can add keys and values to any of the hives listed in the left pane: HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS.
There is a special hive in the left pane, named "Current user / Local machine". The registry entries added under this section will be installed in either HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE, depending on the type of installation: per-user or per-machine.
Creating new registry keys
Use the Insert key while the “Hive” panel is selected. The new key will be added under the selected key in the left pane. It is possible to create multiple subkeys at once using the "\" character in the key's name.toolbar button, the “New Key” tree/list context menu item, or press the
"ProductName" will be the subkey of "Manufacturer" and "Version" will be the subkey of "ProductName".
If the selected key represents a leaf node you can create subkeys by renaming it and using the above method.
Creating new registry values
Use the Insert key while the “Values” panel is selected. The Registry Value Dialog will pop up, where you can set the value's name, its type and content.toolbar button, the “New Value...” tree/list context menu item or press the
Creating a value removal operation
Use the Registry Value Removal Dialog.toolbar button or the “New Value Removal” list context menu item. To change the removal properties use the
Adding registry keys
Use the * key while the “Values” panel is focused. You will be prompted to choose a registry key from your computer's registry using the Registry Key Picker Dialog. All the selected key's subkeys and values will be added.toolbar button, the “Add Key...” tree/list context menu item or press the
Adding registry values
Use the + key while the “Values” panel is selected. You will be prompted to choose registry values from your computer's registry using the Registry Picker Dialog.toolbar button, the “Add Values...” tree/list context menu item or press the
Importing Registry Entries from a Registration File (.reg)
Use thetoolbar button to import registry entries from a Windows Registration File (.reg).
Exporting Registry Entries to a Registration File (.reg)
Select a hive, a key or the Target Computer root element(this will select everything) then use thetoolbar button or the “Export” context menu item to export the registry entries to a Windows Registration File (.reg).
Current user/Local machine hive will always be exported as HKEY_LOCAL_MACHINE.
Setting the Current Feature
Advanced Installer will create components for the added resources as necessary. These components will be added to the Current Feature. Use the drop-down list box in the toolbar to change the Current Feature.
You can further manage the your package's organization in the Organization page.
This feature is not available for Merge Module projects. For more details see the Merge Module Organization page.
Editing and setting properties and permissions for a registry key or value
Use the Enter key while an element in the “Values” panel is selected.
In the Registry Value Dialog you can modify the registry value's name, type and content, and you can add, modify or remove permissions.
In the Registry Key Dialog you can set the registry key's creation and deletion properties, and you can add, modify or remove permissions (permissions must be created first, by checking at least one option in the Properties page).
Launches a wizard that will allow you to specify what registry entries created by your application will be removed upon uninstall.
Locating the attached component for a resource
Use the “Go To Component” context menu item or press the F8 key when an entry is selected. This command will switch to the Organization page with the appropriate component selected in the left tree panel.
This command is available for:
- a registry value
- a registry key or value removal operation
- a registry key that will be created (if absent) at install or deleted (if present) at uninstall.
Moving registry keys and values
Select the items to be moved and then drag and drop them to the target location.
Renaming registry keys and values
Use the "Rename" context menu item or press the F2 key while an item is selected.
Removing registry keys or values
Use the Delete key on a selected element.toolbar button, the “Delete” tree/list context menu item, or press the
Product information registry entries
By default Advanced Installer creates multiple registry entries with information about your product:
- Version - contains your product version
- Path - contains your product installation path
They are created under "Current user/Local machine" hive which is automatically resolved to HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. After install, these entries can be used by any process that needs information about your product (the updater, your application etc.).
These settings are available in a registry key's context menu. They are used to filter the registry keys directly from the repackaged result instead of from the hard drive. In the latter case you can easily configure the repackager from the Repackager Settings dialog.
Add registry path to ignore list
Specify the registry path to be disregarded during a repackager scan.
Configure registry filters directly from the Repackager Settings dialog.
A new Duplicate of Default profile will be created if no current profile is already defined.