9   Registry

The Registry feature allows you to leverage existing installations and simplify new ones by simultaneously displaying the registry from the host machine (called the “source”) next to the registry provided by the installer (called the “target”). This powerful feature allows you to copy any setting from an existing installation directly into the new installer. In enterprise settings where the installation may be highly customized, the Registry feature can save time, prevent errors, and assure consistency across installations. Any changes you make are recorded in the EnterpriseRegistries table.

The following is supported:

  • Dragging and dropping individual keys from the source computer to the target computer.
  • Dragging and dropping entire cabs (directories).
  • Adding, modifying, and deleting any key or cab.
  • Viewing a summary of changes prior to deployment.

Installer table modifications: Enterprise Registry

_images/registrytable.png

9.1   Registry workflow overview

While the Wizard’s user interface provides a visual way to configure the registry, it does have limitations. It only provides basic configuration options, its GUI is not identical to the product GUI, and using the Wizard’s GUI to set preferences will result in overwriting existing registry settings that you might drag and drop from your template application.

For these reasons, power users who are familiar with the product’s advanced features may want to configure an installed product via its UI and then leverage that configuration to customize the installer prior to deployment. To do so:

  1. Install the new application (or use an already configured existing installation).
  2. Configure the application via its user interface. In particular, go through the menus under Edit > Preferences.
  3. Lock down features so that settings can not be changed by end users.
  4. Use the Wizard to drag and drop the configured template registry to the installer. You can copy individual keys or entire cabs (directories) of keys. Please note that there are differences in
  5. View the Summary tab to inspect a list of your changes.
  6. Use the Wizard to configure application preferences that are not already configured manually.

Registry modifications: drag and drop

_images/registry.png

9.2   Adding keys

9.2.1   Adding registry keys from an existing registry

The main work area contains four panes. The upper-left pane contains the directory tree containing the registry keys on the source computer. The lower- left pane contains the directory tree for the registry hives to be installed by installer on the destination system.

  1. Choose the Modify tab.
  2. Navigate to a directory in the upper-left pane to view its contents in the upper-right pane.
  3. Verify you can see the keys you want to add in the upper-right pane.
  4. Select one or more keys from the source directory, and drag them to the destination directory.

9.2.2   Adding new registry keys

To add a new registry key to the destination directory:

  1. Choose the Modify tab.
  2. Select a location in the requisite registry hive in the lower left-hand panel.
  3. Optional: If you’re creating a new folder, right click and choose New and enter a name.
The added items will appear as red icons and will be itemized in the Summary tab.
  1. Highlight the hive in which you will add the new key.
  2. In the right pane, right click and choose New > <data type> Value.
  3. Create a value with the required name.
  4. Right click on the new value.
  5. Choose Modify.
  6. Set Value Data as required.
  7. Choose OK.

To see a list of changes that you have made, click the Summary tab.

9.2.3   Modifying existing preferences

The Wizard provides a context menu that’s identical to the Window’s registry. To modify a new or existing registry key:

  1. Right-click the key name.
  2. In the context menu, select Rename, Delete, or Modify.
  3. Make your modifications.
  4. Choose OK.
To see a list of changes that you have made, click the Summary tab.

9.2.4   Summary of registry changes

The Summary tab contains a list of registry keys you have added, modified, or removed from the destination directory.

  1. Choose the Summary tab. Your list of registry changes appears.
  2. Optional: To change a key, right-click the key, and select Modify. In the Modify record dialog box, you can rename keys and add or remove them from the installation list.