• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

TeamViewer.exe will be deleted

Started by sw-deploy, January 31, 2025, 12:12:48 AM

Previous topic - Next topic

sw-deploy

Hello guys!

When Patch-My-PC updates TeamViewer, it completes with an reboot, because the TeamViewer.exe cannot be deleted.
And here comes the strange behavior. After the reboot the TeamViewer.exe got deleted, but the new exe is no there?!
So Teamviewer is corrupt now.
To get this fixed, I set the "manage conflicting processes", but it seems not to work.
Please see the attached logfile.

Could you have a look please?
Thanks!

Dan Gough (Patch My PC)

I will see if I can repro here - but the first thing that jumps out is that this MSI executes teamviewer.exe as part of its installation routine, so make sure the option is not selected to block execution during install.

I see this in the log:

WixQuietExec:  "C:\Program Files\TeamViewer\TeamViewer.exe" api --uninstall
WixQuietExec:  Error 0x80070003: Command line returned an error.

Dan Gough (Patch My PC)

I was unable to reproduce any issue when upgrading from an older MSI to the current version. The app and service were closed automatically, without having to enable Manage Conflicting Processes.

Windows Installer automatically shut down and remove the previous MSI before installing the new one.

Were you upgrading from and to the same package type, e.g. MSI x64?

sw-deploy

 :'(
We have so many affected devices.
Yes, we use the same package type - MSI x64.
Which version have you tried? Full or Host?

Dan Gough (Patch My PC)

I tried both, in both cases the previous version was installed, app launched and service running whilst update was applied.

Please could you raise a support case via https://patchmypc.com/technical-support?

sw-deploy

Sure, I filled out the form - Case Number:00004704

I tested the behavior on a client nearby.
The Teamviewer.exe got killed when I am looking in the logfile "PatchMyPC-ScriptRunner".
On the user's client the running EXE was not detected in the logfile.
As I could see, if no user is logged in, there is no Teamviewer.exe process running.
If this was the case for the user's client, then it makes no sense, that the Teamviewer.exe cannot be deleted.

sw-deploy

To help if somebody has the same issue.
I got an answer from TeamViewer.

This is a known issue and was fixed with the lastest version 15.62.4.0 .