Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Tableau 9.3 Silent install and license Activation

Hello Everyone,

I am trying to install Tableau silently and activate the license.  I got the installation to work, but the activation process never finishes, it just keeps running until I abort.  Here is the documentation tableau has for license activation:

For example, a script that could be used to activate Tableau Desktop on a Windows computer would look like the following:

@echo off
start/wait tableau.exe -activate <license-key>
if %errorlevel% EQU 0 (ECHO SUCCESS) ELSE (ECHO FAILED)

 

Can anyone help me out?

0

Comments

2 comments
Date Votes
  • What command do you process through PDQ to deploy Tableau Desktop?  I can get tableau to install but not upgrade through PDQ.

    0
  • As far as I know, there isn't a way to "Upgrade".  I basically use a powershell script that looks for and uninstalls any previous version.  Then I use my variables to keep track of the current approved version.

     

    I still have no way of activation

    $OldTableau = Get-ChildItem "C:\ProgramData\Package Cache\{*}\*" | Where-Object {$_.Name -like "tableau*"}
    foreach($item in $OldTableau){
    if((Get-Item $item.FullName).VersionInfo.FileVersion -lt @(TableauVer)){
    $exe = [string]$item.FullName
    write-output "uninstalling $exe"
    $args = @('/uninstall', '/S')
    $proc = Start-Process -FilePath "$exe" -ArgumentList '/uninstall','/S' -Wait -PassThru
    if($proc.ExitCode -ne 0){
    write-output $proc.ExitCode
    }
    }
    }
    1