How to update Teamviewer Host MSI installation

Hi there, we have a customized MSI installation and have the policy set to auto update. When I look at the remote computers add/remove program list. We see Teamviewer installed twice. The host will not update.

Installed twice - host not updating.png

I also tried running this batch file with an updated MSI and it fails. (I replaced the apitoken and group just for this message)

taskkill /f /im teamviewer.exe
msiexec.exe /i "c:\temp\Teamviewer\TeamViewer_host.msi" /qn DESKTOPSHORTCUTS=0 APITOKEN=XXXXXXXXXXXXX ASSIGNMENTOPTIONS="--grant-easy-access --group XXXXXXX"

Tagged:

Comments

  • TotalPC
    TotalPC Posts: 87 ⭐Star⭐

    Hello @ryanPadilla

    Welcome to the TeamViewer Community!

    It appears that you have both the full version and the host version installed there. Try...

    taskkill /IM TeamViewer.exe /F
    taskkill /IM TeamViewer_Desktop.exe /F
    net stop TeamViewer

    If the issue is just TeamViewer not fully closing, that should fix the issue. If not, you may need to get the full version uninstalled before the host takes over.

    Hope this helps. If you have further questions or issues feel free to reply.

    Cheers!
    -Josh

    TeamViewer user since version 6 (2010). We used other remote software programs (TVNC UVNC PCAny) for many years before.
  • Hi there, thanks for the tip but sadly I'm still stuck. I tried adding the taskkills to the script and had no luck. I went ahead and uninstalled Teamviewer(not the host) and still nothing when I ran the script. I went ahead and removed the silent parameter to see what's going on and I get this error.

    Failedinstall.png

    This is the code I'm using

    taskkill /IM TeamViewer.exe /F
    taskkill /IM TeamViewer_Desktop.exe /F
    net stop TeamViewer
    msiexec.exe /i "c:\temp\Teamviewer\TeamViewer_host.msi" /qn DESKTOPSHORTCUTS=0 APITOKEN=XXXXXXXXXXXXXXXXXXX ASSIGNMENTOPTIONS="--grant-easy-access --group XXXXXX"