KNOWLEDGE BASE

When installing Tableau Server for an upgrade an error is presented mentioning the older version of Tableau Server has been uninstalled


Published: 20 Aug 2020
Last Modified Date: 25 Aug 2020

Issue

When installing a newer version of Tableau Server for an upgrade, the installer presents an error "Setup has detected that an older version of Tableau Server was installed but has been uninstalled".

Older Version Uninstalled Error

Environment

  • Tableau Server 
  • Windows Server 2012+

Resolution

If the current version of Tableau Server has not been uninstalled, check the System Environment Variables for TABLEAU_SERVER_MSI and add or correct this value if needed following the steps below.

1. Head to the Windows Settings -> System -> About
Windows Settings

Windows System
Windows About

2. Under Related settings open 'System info'.
Windows System Info

3. Click into 'Advanced system settings'
Advanced System Settings

4. Within the 'Advanced' tab, click the 'Environment Variables...' button.
Environment Variables

5. In the 'System variables' section make sure the TABLEAU_SERVER_MSI variable exists with the proper Tableau Server version value.  If this variable is missing, click on the 'New...' button and add this variable with the currently installed Tableau Server version.

Tableau Server MSI Variable

The version of the currently installed Tableau Server version can be found within the Programs and Features console of the Control Panel (Control Panel > Programs > Programs and Features).  For example:

Tableau Server Version

The value to create TABLEAU_SERVER_MSI will be for the installed version with a matching TABLEAU_SERVER_DATA_DIR value(Number in parenthesis besides the Tableau Server title).

New TABLEAU_SERVER_MSI variable assignment


6. Save the variable and reinitiate the Tableau Server installer for the upgrade.

 

Cause

When uninstalling a previously installed version of Tableau Server that is currently not running, the TABLEAU_SERVER_MSI variable may be removed causing future installations of Tableau Server to not recognize a current running installation for the in-place upgrade.
Did this article resolve the issue?