I think this is appening because the calling app is in the same path of the app being updated.
None of the program in the same path should be running.
Hi,
I have a console application that uses wyupdate to update itself, the problem is. My Application is ran from another application. It is not referenced just shelled out. When the wyupdater runs the update it wants to close the app that started my app also. Is there any way to get around this because there is no need to close the first application as it has no dependencies on my console application.
ThanksDeuan
I think this is appening because the calling app is in the same path of the app being updated.
None of the program in the same path should be running.
I agree, but how do I get around it. The exe I am updating is a remote component of the calling app and I cannot shut down the calling app.
Should it not only check to see if the exe file it is updating is running. Seems wrong to me.
wyUpdate has no way of knowing what is a dependency of what. Hence requiring everything in the folder (and subfolders) to be stopped before the update can proceed. Why? Because wyUpdate assumes everything inside the folder (and subfolders) is part of the same "app".
How to get around it: put the "app" in a subfolder, and that longer running process in a parent folder.
Does that make sense?