Windows Installer Editor Reference
168
Assembling an Installation
To configure general registry settings
1. Do one of the following:
In Installation Expert > Registry page, click Add > Key at the lower left of the
page.
Double-click a registry value on the Registry page in Installation Expert or on
the Components or Features tab in SetUp Editor.
The Registry Details dialog box appears.
2. Complete the dialog box:
Operation
Specify what operation will be applied to the key and its associated value.
Create/update key and value
If the value exists, it is updated. If the key or value does not exist, it is
created.
Create empty key
An empty key is created. It is populated with a +.
Remove subkeys for uninstall
During uninstall, all subkeys of this key are removed.
Create empty key and remove subkeys for uninstall
During uninstall, all subkeys of this key and all named values of the key
itself are removed.
Remove value during install
This value is removed from the registry key. On the Registry page, a red
exclamation point appears over the icon of the registry value you selected.
This option appears only when you access the Registry Details dialog box
from the Registry page.
Root
This is enabled only when you access the Registry Details dialog box from the
Add button on the Registry page.
The top-level key in which the new key will be added. (Example:
HKEY_CURRENT_USER.)
Key
This is enabled only when you access the Registry Details dialog box from the
Add button on the Registry page.
Enter the name of the new key. Create an entire key path by separating key
names with backslashes. (Example: Entering
NewDocument\Protocol\StdFileEditing creates the StdFileEditing key inside the
Protocol key, which is created inside the NewDocument key.) Any keys in the
path that do not exist are created.
Value Name
Enter the name of a new named value. You can enter a formatted text string.
For information about formatted text strings, see Formatted and Registry Table
in the Windows Installer SDK Help.
Data Value
Enter the data for the value. You can enter a formatted text string. (Example:
To return the directory that contains MyApp.exe, enter a value of
[$component], where component is MyApp.exe; to return the directory and the