Uninstaller information
By default, the Tarma QuickInstall Setup program will register itself as the uninstaller for your application (see the Installation page for the options affecting the uninstaller). If it does, it will register uninstaller information with Windows, stored under the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
A new registry key is created as child of the Uninstall key mentioned above. The name of this key is the value of the <Uninstall> project variable, i.e., whatever you entered as the Uninstaller key on the Installation page. The resulting registry path is represented by the <UninstallRegPath> variable; Setup uses the value of that variable to store the uninstaller information.
This new registry key serves as the container for the following values.
- Contact - Set to the value of the <Email> variable. This value
is used by recent versions of Windows (2000 and later) to display support information
for your application.
- DisplayIcon - Set to the path of your application's main executable,
if you marked one. If not, this value is omitted.
- DisplayName* - Set to the value of the <UninstallTitle> variable,
i.e., the contents of the Uninstaller title field on the Installation page. This value is used by Windows to identify your application in the Add/Remove Programs list
on the customer's computer.
- DisplayVersion - Set to the value of the <AppVersion> variable.
This value is used by recent versions of Windows (2000 and later) to display
support information for your application.
- HelpLink - Set to the value of the <WebSite> variable. This
value is used by recent versions of Windows (2000 and later) to display support
information for your application.
- HelpTelephone - Set to the value of the <Telephone> variable.
This value is used by recent versions of Windows (2000 and later) to display
support information for your application.
- InstallDate - Set to the date and time of the installation, in the
ISO 8601 format yyyy-mm-dd hh:mm:ss.
- InstallLocation - Set to the value of the <AppFolder> variable. The <InstallLocation> project
variable can be used to retrieve this registry value, for example during upgrades
to obtain the installation location of any previous version.
- InstallSource - Set to the value of the <SetupDir> variable.
- Publisher - Set to the value of the <Company> variable. This
value is used by recent versions of Windows (2000 and later) to display support
information for your application.
- UninstallString* - Set to <AppFolder>\Setup.exe /remove,
i.e., the command line to invoke Setup.exe as an uninstaller. The file
path is converted to 8.3 format before storing, to avoid problems on Windows 9x.
- URLInfoAbout - Set to the value of the <WebSite> variable.
This value is used by recent versions of Windows (2000 and later) to display
support information for your application.
- URLUpdateInfo - Set to the value of the <WebSite> variable.
This value is used by recent versions of Windows (2000 and later) to display
support information for your application.
- VersionMajor - Set to the first number in the <AppVersion> variable.
This assumes that the application version number has the format major.minor,
possibly followed by a build or release number.
- VersionMinor - Set to the second number in the <AppVersion> variable.
This assumes that the application version number has the format major.minor,
possibly followed by a build or release number.
* Note - Tarma QuickInstall stores all of the above information when it registers an uninstaller for your application, regardless of the Windows version. However, installers from other vendors might omit one or more values. In that case, you can only rely on the values marked * to be present.
As indicated above, most of the information is used by (recent versions of) Windows in one way or another. However, your application also has access to this information if desired, as long as it knows the name of the uninstaller key. If you enter the name built into your application in the Uninstaller key field on the Installation page, then Tarma QuickInstall will use it and your application can find the information.