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.