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 7 package, your users will be able to remove those components later by using Add or Remove Programs in Control Panel. The Internet Explorer Administration Kit 7 (IEAK 7) Toolkit contains a sample uninstallation file, Uncheck.inf, which is located in the <systemdrive>:\Program Files\Microsoft IEAK 7\toolkit\inf folder.

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 Add Custom Components screen in the Internet Explorer 7 Customization Wizard.

Additional references