Silent-install Teamviewer Host

lukasr1
lukasr1 Posts: 4
edited December 2023 in Deployment & Integrations

A complete silent install of teamviewer host does not seem to work anymore like in older versions:

This worked with older versions for example:

msiexec /i "PATH" /qn APITOKEN="api_token" CUSTOMCONFIGID="customconfig" SETTINGSFILE="PATH" ASSIGNMENTOPTIONS="--grant-easy-access"


Now to install teamviewer silently, I install an older version and update it through Management Console.


Thank you in advance,

Lukas

Best Answer

  • lukasr1
    lukasr1 Posts: 4
    Answer ✓

    Haven't looked into this for a while, but as it seems the versions of teamviewer host was finally updated. And a new tutorial was written:

    https://www.teamviewer.com/en-us/global/support/knowledge-base/teamviewer-remote/deployment/mass-deployment-user-guide/deploy-teamviewer-host-or-full-client-9-10/

    For anyone having troubles here a quick tutorial:

    1. Log into Management Console (https://login.teamviewer.com/LogOn) and go to Home / Design & Deploy / ASSIGNMENT

    2. Create a new assignment (or use existing one)

    3. Copy the Assignment ID of the configuration and save it for later

    3. Go to Home / Design & Deploy / CUSTOM MODULES

    4. Create a new Custom Module by clicking on "+" and then "Host"

    5. Fill out everything relevant to you and click save

    6. Now go back into the Module you just created and download relevant msi package (small text with "Download MSI")

    7. Copy the Configuration ID and save it for later (is located under the Download-Text mentioned in 6.)

    8. Modify and run the powershell script mentioned below (You need admin rights for installation and assignment)

    #Define your variables (replace with actual values)

    $tv_setup = "tv_setup_path" # Example MSI file, replace with actual file path
    $customconfig = "configuration_id" # Example custom config ID, replace with actual custom config ID
    $id = "assignment_id" # Example assignment ID, replace with actual ID
    $executable = #"C:\Program Files\TeamViewer\TeamViewer.exe" if 64 bit version or "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" if 32 bit

    #Install TeamViewer using MSIEXEC

    $arguments = "/i",$tv_setup,"/qn","CUSTOMCONFIGID=$customconfig"

    Start-Process "msiexec.exe" -ArgumentList $arguments -Wait

    #Wait for 30 seconds

    Start-Sleep -Seconds 30

    #Run the TeamViewer assignment command

    & $executable assignment --id $id

Answers

  • We are having the same issue.

  • AriKuk
    AriKuk Posts: 2

    same issue

    Ari
  • lukasr1
    lukasr1 Posts: 4
    Answer ✓

    Haven't looked into this for a while, but as it seems the versions of teamviewer host was finally updated. And a new tutorial was written:

    https://www.teamviewer.com/en-us/global/support/knowledge-base/teamviewer-remote/deployment/mass-deployment-user-guide/deploy-teamviewer-host-or-full-client-9-10/

    For anyone having troubles here a quick tutorial:

    1. Log into Management Console (https://login.teamviewer.com/LogOn) and go to Home / Design & Deploy / ASSIGNMENT

    2. Create a new assignment (or use existing one)

    3. Copy the Assignment ID of the configuration and save it for later

    3. Go to Home / Design & Deploy / CUSTOM MODULES

    4. Create a new Custom Module by clicking on "+" and then "Host"

    5. Fill out everything relevant to you and click save

    6. Now go back into the Module you just created and download relevant msi package (small text with "Download MSI")

    7. Copy the Configuration ID and save it for later (is located under the Download-Text mentioned in 6.)

    8. Modify and run the powershell script mentioned below (You need admin rights for installation and assignment)

    #Define your variables (replace with actual values)

    $tv_setup = "tv_setup_path" # Example MSI file, replace with actual file path
    $customconfig = "configuration_id" # Example custom config ID, replace with actual custom config ID
    $id = "assignment_id" # Example assignment ID, replace with actual ID
    $executable = #"C:\Program Files\TeamViewer\TeamViewer.exe" if 64 bit version or "C:\Program Files (x86)\TeamViewer\TeamViewer.exe" if 32 bit

    #Install TeamViewer using MSIEXEC

    $arguments = "/i",$tv_setup,"/qn","CUSTOMCONFIGID=$customconfig"

    Start-Process "msiexec.exe" -ArgumentList $arguments -Wait

    #Wait for 30 seconds

    Start-Sleep -Seconds 30

    #Run the TeamViewer assignment command

    & $executable assignment --id $id