Edit Installer Dialog Box - Registry Keys Tab
Use the Registry Keys tab of the Edit Installer dialog box to specify what registry entries to create as part of the installation process. Use the tree on the left side of the tab to create, remove, and rename registry keys. Use the table on the right side of the tab to create, remove, and edit the values assigned to the selected key.
![]() |
Note You cannot add a new key directly under HKEY_LOCAL_MACHINE, nor can you add a value to any of the hive keys. |
![]() |
Note For 64-bit distributions, LabWindows/CVI creates registry key entries in the 64-bit registry. |

The tree on the left lists the registry hives under which you can add registry keys. The context menu for the tree includes the following options:
![]() |
Note The key names that combine to make up the relative path for a key can have a maximum of 255 characters. |
- New Key—Creates a new key under the selected key. Keys you create initially have an uninitialized (Default) value. If you do not initialize this value or create any other values for the key, the key is added to the installation only if it is part of the path to a key that defines a value.
- Remove Key—Removes the selected key and any keys it contains from the tree. You also can press <Delete> to remove the selected key.
- Rename—Renames the selected key. You cannot give the same name to multiple keys in the same location.
- Make Writable for All Users—Unlocks the selected registry subkey permanently so that it is writable by any authenticated user, regardless of that user's access permission on the target computer. This option is available for all subkeys you create under the Software key, except for the Microsoft and National Instruments subkeys.
- Export Branch—Exports the selected registry key and all keys contained by it to a file.
- Export All—Exports all registry keys, excluding hives, to a file.
Note The exported file created by the Export Branch and Export All options is a Windows 9x/NT 4 Registration File (.reg), which can be imported by the Windows Registry Editor (regedit.exe) and the LabWindows/CVI Registry Keys Tab. - Import—Imports a Windows Registration File (.reg) into the registry structure of the Registry Keys Tab. Note that any items not supported by the LabWindows/CVI distribution builder will not be imported. This includes registry key values of type REG_BINARY or REG_MULTI_SZ, as well as the registry key deletion syntax. If you import a Windows registry file, all imported string values will be converted from Unicode to multibyte ANSI strings.
The table on the right lists the name, type, and value of the selected registry key. The context menu for the table includes the following options:
![]() |
Note LabWindows/CVI truncates key values longer than 2048 characters. |
- New Value—Adds a new value to the specified key.
- Edit Value—Launches the Edit Value dialog box, which you can use to edit the value data. What you select for Type determines what options are available in the Edit Value dialog box. If you select a string type (REG_SZ or REG_EXPAND_SZ), you can use the following variables in the string:
- %dest—The path to the application installation directory, which the user may change at install time
- %src—The path to the directory on the target computer from which the installer is run
- %name—The application name
- %version—The version of the installer (in "1.0.0" format)
- %company—The string entered in the Publisher field on the General tab
At installation time, these variables are replaced with the proper values before the value is created. Put quotes around items that might contain spaces to ensure that the value is created correctly.
- Remove Value—Removes the selected value. You also can press <Delete> to remove a value.
- Rename—Renames the selected value. Values of a particular key must have unique names.