def assert_no_existing_installation()

in assets/scripts/SilentInstaller.py [0:0]


def assert_no_existing_installation():
    ''' Raises an error if there is an existing installation of Tableau Server '''

    if is_server_installed():
        raise ExistingInstallationError('An existing installation of Tableau Server has been found. '
            'Please uninstall it before updating to the new version. '
            'Data currently in Tableau server will be preserved during this process.')