Share via


DeleteAtUninstall Property

Specifies which registry keys to delete 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

Deletes only the registry keys that were created during installation..

True

Deletes the selected registry key and all subkeys. Also deletes registry keys created after installation.

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

Reference

Properties for the Registry Editor