Attempts to close process that is not part of update

Our application is a Host/Plugin type application. The application itself as well as the plugins can have update independent of each other. So there are multiple wyUpdate.exe in different directories.

To make this simple to mange I wrote an upgrade helper app that finds all automatic updaters and then triggers the 'wyUpdate.exe /quickcheck /justcheck /noerr' for each wyUpdate.exe found in my apps plugin folders.

When I find that the return is 2, I then run 'wyUpdate.exe /skipinfo'.

This works to a point, the updater attempts to close my upgrade helper application, but it has no part of the upgrade that is occurring. With this app running I should be able to upgrade everything, it has no wy files.

Anyway to stop this behavior? I'm triggering wyUpdate.exe and can see it spawn as a child process, to correct this I spawn a middle proces which then triggers the wyUpdate process and I kill the middle process, wyUpdate is now it's own Parent. Yet somehow it still remembers that the upgrade helper app was involved and continues to try and close it.

wyUpdate will stop the updating process if any processes in its folder or any child folders are currently running. It will wait until they close before it continues.

The solution to the problem is to close your app and any other "helper apps".

This has been covered multiple times in this forum.

Moving the app to a directory above the top most wyUpdate.exe solved the issue. Thanks!