Share via


DeleteAtUninstall Property

Specifies whether the selected registry key and all of its subkeys will be deleted when the product is uninstalled.

This property is an advanced feature and should be used with care.

Settings

The settings for the DeleteAtUninstall property are:

Setting Description
False The selected registry key and all of its subkeys will remain on the target computer when the product is uninstalled.
True The selected registry key and all of its subkeys will be deleted when the product is uninstalled.

Remarks

If a registry key has values, the key will be removed when all values are removed regardless of the DeleteAtUninstall property setting.

Note   To meet Microsoft Windows logo requirements, you must set this property to true for your top-level registry keys so that all registry subkeys and values are deleted when the product is uninstalled.

Be careful not to delete registry keys you did not set — for example, do not delete HKEY_CURRENT_USER\SOFTWARE.

See Also

Properties for the Registry Editor