Share via


Configure Custom Components for Uninstallation

If you register the uninstallation program for any custom components that you include in your Windows® Internet Explorer® 9 package, your users will be able to remove those components later by using Add or Remove Programs in Control Panel.

To register the uninstallation program for a custom program, during the component setup process, your application must add the entries listed below to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ApplicationName

This registry key is also used by Internet Explorer Setup to verify that the component installed successfully.

Subkey Data type Value

DisplayName

String

Friendly name of the application.

UninstallString

String

Complete command line (including path) for uninstalling the application.

Do not use a batch file or a subprocess.

The value of ApplicationName must also match the value of Uninstall Key on the Custom Components page in the Internet Explorer Customization Wizard 9.

Additional references