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?
Comments
What command do you process through PDQ to deploy Tableau Desktop? I can get tableau to install but not upgrade through PDQ.
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
}
}
}