Removing Registry Data Created by Your Product
InstallShield 2022
By default, your product’s uninstallation removes only data that was created by your installation program.
Basic MSI Project
The Registry explorer understands a special uninstallation flag that controls the registry data to be removed during uninstallation. In particular, using the “-” flag (“Uninstall entire key”) on a registry key causes the key and all its values and subkeys to be removed during uninstallation.
Note:The RemoveRegistry table—exposed in the Direct Editor—specifies data to be removed only when your product is installed. For details, see the Windows Installer Help Library.
InstallScript MSI Project
In your script, you can call the RegDBDeleteValue and RegDBDeleteKey functions in your uninstallation event-handler functions to remove specified registry values and keys.