KNOWLEDGE BASE

Error "Failed to get the location of tabadmin from previous installation" Installing Tableau Server


Published: 01 Sep 2016
Last Modified Date: 02 Sep 2016

Issue

When attempting to install Tableau Server on a computer where Tabcmd is installed, you may reach the following error:

"Failed to get the location of tabadmin from previous installation. Please uninstall from the control panel before proceeding"

Environment

  • Tableau Server Installer
  • Tabcmd -- Installed on the server

Resolution

Uninstall Tabcmd before attempting to install Tableau Server.

Cause

Installing Tabcmd creates a registry key like below:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TableauServerCommandLineUtility10.0_is1

This presents an issue because Tableau Server's installer looks for a couple registry keys.

1. First, it checks to see if Tableau Server has an uninstaller. It does this by checking the following area of the registry for a key with a name like "TableauServer*"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

Since Tabcmd is installed, it hits a false-positive for Tableau Server. Because it sees this portion of the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TableauServerCommandLineUtility10.0_is1
 
2. After the installer thinks Tableau Server is installed, it attempts to find Tabadmin to proceed with our uninstaller. It does this by checking the following Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Tableau\Tableau Server <version>\Directories

3. It may find this path in the registry, but the folder and executable are gone, so we reach the message below:
"Failed to get the location of the tabadmin from previous installation. Please uninstall from the control panel before proceeding"
 
Did this article resolve the issue?