InstalledVersion

InstallMate sets this variable to the version number of any existing installation of the same product. If the product is not currently installed, this variable is empty.

The major uses for this variable are:

In this context, "same product" is defined as "product with the same UninstallKey value" (which in turn is typically defined as <ProductCode>). As long as you build your installers for a given product from the same InstallMate project file and change neither the Product GUID attribute on the Product info project page nor the value of the UninstallKey variable, the resulting installers will be for "the same product".

Usage

You can refer to this variable as <InstalledVersion>. In conditional expressions you can omit the brackets and simply use InstalledVersion as a test for previous product installation. Do not change its value; it has been carefully configured for cross-platform compatibility.

Related topics

Installed, InstallLocation, UninstallKey