Page 1 of 1

[SOLVED] TeamViewer update issue

Published: November 12, 2024 - 10:29 AM
by thomas789
Good morning,

SERVER INFO:

WAPT Server version: 2.5.5.15640
WAPT Agent version: 2.5.5.15640

I have just encountered an error upgrading the TeamViewer package from version 15.58.5.0-0 to 15.59.3.0-22 on my Windows 11 network, with the following error:

Code: Select all

File "C:\Program Files (x86)\wapt\common.py", line 4165, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1689, in install_exe_if_needed
    run(r'"%s" %s' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2177, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"TeamViewer_Setup_x64.exe" /S' returned non-zero exit status 2.
Is there a solution I can use?

Thank you, best regards.

Re: TeamViewer update problem

Published: November 12, 2024 - 11:06 AM
by dcardon
Hi Thomas,

the error is quite generic and is returned by the TeamViewer installer (Wapt only reports it).

You would need to run the update manually to see the error message (most of the time the graphical installer provides a bit more information about the source of the problem). Depending on the issue, you could then consider modifying the package to address the problem.

Regards,

Denis

Re: TeamViewer update problem

Published: November 12, 2024 - 12:02 PM
by thomas789
Good morning,

I just tested two things:

- The installation performed directly from the workstation runs perfectly (without errors)
- By deleting the entire HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Teamviewer folder, the installation via WAPT works. It's a bit of a drastic method, but it fixes the problem... So, I don't know which specific key in this Teamviewer folder could be causing the issue.
Screenshot from 2024-11-12 11-57-19.png
Screenshot from 2024-11-12 11-57-19.png (5.48 KB) Viewed 5091 times
Sincerely, Thomas.

Re: TeamViewer update problem

Published: November 12, 2024 - 12:06 PM
by dcardon
Hi Thomas,

was the previous version of TeamViewer that was installed a 32-bit or 64-bit version?

Regards,

Denis

Re: TeamViewer update problem

Published: November 12, 2024 - 1:21 PM
by thomas789
This is version 15.54.6, 32-bit (the program is installed in Program Files x86). I'm also experiencing the problem with version 15.58.5.0, 32-bit.

Regards, Thomas.

Re: TeamViewer update problem

Published: November 13, 2024 - 09:12
by thomas789
Hello,

Following up on my previous message, I was indeed using the official WAPT package version 15.58.5.0-0 (ALL architecture), and I have now switched to the official WAPT package version 15.59.3.0-22 (x64 architecture) because it was the only one I could find on your store when I used the update package. How can I migrate from this old package to the new one?

Thank you,

Best regards.

Re: TeamViewer update problem

Published: November 14, 2024 - 10:54 AM
by thomas789
Good morning,

To follow up on this ticket and using a "DIY" method, I deployed a package with the following line, thus enabling the deployment of the new version of TeamViewer:

Code: Select all

def install():
    run_powershell('Remove-Item -Path HKLM:\Software\WOW6432Node\Teamviewer -Recurse')
Sincerely.