Uninstalling a Previous Application Version

Tarma Installer can detect the presence of a previous version of your application and uninstall it before installing the new version. This feature works regardless of the make and type of installer that was used to install the previous version and can be used during product upgrades.

If it finds a previous version of your application during the installation process, Setup offers to uninstall it before continuing. The check and the uninstallation are performed after the customer has clicked on the Install button on the Installation Options Setup page, i.e., just before the installation of the new version will begin.

Note - Tarma Installer does not compare the previous and new versions of your application before uninstalling. Instead, it displays the uninstall title of the previous version and leaves it up to the customer to decide whether or not the replace the previous version. This allows both upgrades and downgrades.

Uninstallation of a previous application version is also supported during silent (unattended) installs; see Setup command line options in the online help for more information about the available options.

For related information, see Searching for a Previous Application Version.

How to uninstall a previous application version

To uninstall a previous application version, if present on the customer's computer, act as follows.

  1. On the Installation page, check the Previous version uninstaller key box.
  2. Fill in the name of the registry key used for the previous version's uninstaller. In most cases, this will be the same name as the Uninstaller key field for the current version. The default value <Uninstall> reflects this. However, if previous versions used a different key name, you can change the name as appropriate.

Tarma Installer will include the previous version check when you next build the Setup package.

See Uninstaller information in the online help for more information about the use of the uninstaller registry key.