[SOLVED] TeamViewer update issue

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

November 12, 2024 - 10:29

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.
Last edited by thomas789 on Nov 14, 2024 - 11:28, edited 1 time.
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 12, 2024 - 11:06 AM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

November 12, 2024 - 12:02

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 5089 times
Sincerely, Thomas.
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 12, 2024 - 12:06

Hi Thomas,

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

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

November 12, 2024 - 1:21 PM

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.
Last edited by thomas789 on Nov 13, 2024 - 09:12, edited 1 time.
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

November 13, 2024 - 09:12

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.
thomas789
Messages: 95
Registration: May 31, 2021 - 3:44 p.m.

November 14, 2024 - 10:54 AM

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.
Answer