This documentation is archived and is not being maintained.

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.

The settings for the DeleteAtUninstall property are:




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


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

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


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.