Registry Key Dialog

In this dialog you can both edit the properties of a new registry key or change the properties of an already existing one.

Registry Key TabCopy link to this sectionLink to this section copied!

Registry Key Dialog

PathCopy link to this sectionLink to this section copied!

This points at the registry's key location. This path is localized.

PropertiesCopy link to this sectionLink to this section copied!

  • Create (if absent) at install
  • this option makes sense only if the registry key does not contain a value. If this option is selected the registry key will be created at install time if it is not present.
  • Delete (if present) at uninstall
  • with this option enabled the key is to be deleted, if present, with all of its values and subkeys, when the component is uninstalled. The key will also be deleted even if no values are in it.

If the registry key contains at least a value these options are not needed. The registry key will be automatically created at install time and deleted during uninstall.

Registry Key Operations TabCopy link to this sectionLink to this section copied!

In this dialog you can specify a registry key to be removed on install. Also, you can enable its content to be persistent during an upgrade.

Registry Key Removal Dialog

RemoveCopy link to this sectionLink to this section copied!

Keys for removal will be marked visually with Key Removal icon.

ImportantBy default Windows Installer will remove only the resources that were installed by the MSI package. This removal operation is intended to be used for external resources created by custom behaviour.

ComponentCopy link to this sectionLink to this section copied!

The component whose install will trigger the key removal operation.

Remove OnCopy link to this sectionLink to this section copied!

The time when the removal will be executed. There are three available moments:

  • component install
  • component uninstall
  • both

ConditionCopy link to this sectionLink to this section copied!

Specify a removal condition.

You can specify registry values to be removed upon install from the Registry Value Removal Dialog.

TipThe removal operation is extremely useful when the installed resources are modified post install and would not be removed otherwise.

PersistenceCopy link to this sectionLink to this section copied!

Save and restore original registry key content.

ConditionCopy link to this sectionLink to this section copied!

Condition when the key content is preserved.

NoteTo find out how to use this option in an upgrade scenario, you can follow the Prevent Repair or Uninstall article.

Search keyCopy link to this sectionLink to this section copied!

Select the search type for the registry key:

  • Search key in the x86 portion of the registry
  • Search key in the x64 portion of the registry
  • Search key based on the package type

App-V Options TabCopy link to this sectionLink to this section copied!

In this dialog you can set options specific to App-V for a registry key.

OptionsCopy link to this sectionLink to this section copied!

Merge with real keyCopy link to this sectionLink to this section copied!

This option enable the virtual application to use this registry key for the registry entries of both real and virtual systems.

Override real keyCopy link to this sectionLink to this section copied!

This option specifies that the virtual application will use this key only for the virtual registry entries.

Topics