Update fails - The file is being used by another process

We are using WyUpdate 2.6.18.4. We have installed many instances of the same application to different computers, which immediately updates itself to the latest version.

However, the latest installation has an error we've never seen before:"The process cannot access the file ... because it is being used by another process."

The file is installed as a service, and it gets shut down before updating. This has worked on every other computer (dozens to hundreds) so far. I see that WyUpdate before version 2.6.16 had this problem, but our WyUpdate is later than that.

This particular machine is Windows Server 2008 R 2, 64-bit, Service Pack 1.

The client.wyc file gets updated and not rolled back after the failure, so we can't update it again as it believes it's already on the latest version.

What's causing this problem and how can we fix it?

wyUpdate is telling you the problem (and how to solve it). It's trying to update a file that is being used by another process. So... don't do that. Close your other processes and let wyUpdate update your app.

I can't 100% confirm this, but it now looks like our process was being held open by a virus on the client's machine. Like I said, this has never happened before. We don't have any other process except the one installed as a service. So, neither your problem nor ours.