wyUpdate can't update your app while it's running. Does your app fail to close or are you purposefully keeping your app open?
Or are you testing the AutomaticUpdater in a debugger and the *.vhost.exe process is showing?
Hi all ,I'm using the AutomaticUpdaterBackend in order to make the updates in my application . I face a problem , when my application starts and there is a new update , the updater dialog appear ad when it starts it say , wybuild has to close the application in order to continue with three options (close , closeall , cancel update) . How I can solve this problem to cause istalling the updates then running the application .
Thanks in advance ...
wyUpdate can't update your app while it's running. Does your app fail to close or are you purposefully keeping your app open?
Or are you testing the AutomaticUpdater in a debugger and the *.vhost.exe process is showing?
Thanks for your reply ,
If I understand well the documentation . After my app is running I ask the AutomaticUpdater to check for updates . I didn't do that by the AutomaticUpdater control , I did that with the AutomaticUpdaterBackend class . Now I want to know how to make the update . The client is already running , this is the problematic point I don't understand .
Thanks in advance ...
The client is already running , this is the problematic point I don't understand .
wyUpdate always runs when the AutomaticUpdater checks, downloads, extracts or installs. In short wyUpdate does the work and the AutomaticUpdater is like a remote control.
Ok I'll write my steps hope I'll be clear this time .1. I build wyUpdate project with version 1.0 of my app .2. I added the class AutomaticUpdaterBackend with UpdateMode.Automatic .3. Each time my app is running I call the ForceCheckForUpdate() method4. Now , I added a new version 1.1 to my wyUpdate project and uploaded the path to the server .5. I run the client , it says a new update exists . 6. wyUpdate download the update , and tell it will be installed in the next start .7. When I shutdown the client and run it the wyUpdate dialog appears and another popup also telling the process myApp.exe is running and should be closed before continue .All these steps when visual studio is closed .
Thanks in advance .
Open the task manager. Is your app being closed? Also, if you're making a GUI application use the AutomaticUpdater not the AutomaticUpdaterBackend.