Specifies whether this registry key and all its subkeys will be deleted when the product is uninstalled.
This property is an advanced Microsoft® Visual Studio® Installer feature and should be exercised with care.
Settings
The settings for the DeleteOnUninstall property are:
Setting | Description |
False | The selected registry key and all its subkeys will remain on the target machine when the product is uninstalled. |
True | The selected registry key and all its subkeys will be deleted when the product is uninstalled. |
Remarks
If a registry key is empty when the product is uninstalled, it will be deleted regardless of the DeleteOnUninstall property setting.
Note To meet Microsoft® Windows® logo requirements, you must change this setting to True
for your top-level registry keys so their 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.