How to add registry keys to installation

book

Article ID: 179926

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

 

Resolution

Question
How do I add registry keys to my installation?

Answer

You can use Installation Expert or Setup Editor to add registry keys and values to any registry folder or subfolder. You also can change settings for selected registry keys and rename or delete files and folders. However, you cannot rename or delete a root folder.

In Installation Expert, the Registry page displays only the registry keys for the feature in the Current Feature drop-down list. To display registry keys for all features, mark View registry keys for all features on Registry page in Wise Options.

In Setup Editor, the Registry icon displays the registry keys and values that are included in the selected feature or component.

Adding an empty registry key

  1. Select Installation Expert > Registry page.
  2. From Current Feature, select a feature or condition. (Because any item you add must be assigned to a specific feature, you cannot add an item when All Features is selected.) Items that you add to a feature are installed on the destination computer only if the feature is installed. Items that you add to a condition are installed only if the feature is installed and the condition is true.
  3. In the lower left list box, select the location for the key.
  4. Click Add and select Key. The Registry Details dialog appears.
  5. From Operation, select Create empty key.
  6. In Key, click at the end of the existing text, and add a backslash and the name of the new key. For example, append \Preferences to the end of the existing key name.
  7. Click OK.

Adding a registry value in Installation Expert

  1. Select Installation Expert > Registry page.
  2. From Current Feature, select a feature or condition. (Because any item you add must be assigned to a specific feature, you cannot add an item when All Features is selected.) Items that you add to a feature are installed on the destination computer only if the feature is installed. Items that you add to a condition are installed only if the feature is installed and the condition is true.
  3. In the lower left list box, select the key to contain the value you're adding.
  4. Click Add and select Key. The Registry Details dialog appears.
  5. Complete the dialog and click OK.

Adding a registry value in Setup Editor

  1. Do one of the following in Setup Editor:
    • On the Features tab, expand a feature and then expand its Combined folder.
    • On the Components tab, expand a component.
  2. Expand the Registry icon. If the Registry icon does not appear, right-click and select Hide Empty Folders/Items.
  3. To add a new folder, right-click a folder and select New > Folder. Rename the new folder.
  4. Right-click a folder and select New > Registry Key. The Registry Details dialog appears.
  5. Complete the dialog and click OK. The registry value is added to the selected feature or component and appears in the upper right pane. To edit it, double-click its name. To delete it, use the right-click menu.