-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run update in the background #642
Comments
You can handle the update logic manually as shown here, but if you use AutoUpdater.DownloadUpdate method as shown in the example, then it will still show the download dialog. To remedy that, you can handle the download logic in the event. It will be much easier if you are using installer as an update file. You just have to download the update EXE using something like HttpClient and after the download finishes just execute the update EXE. |
Hi ravibpatel, var currentDirectory = new DirectoryInfo(Application.StartupPath); AutoUpdater.Start("http://192.168.11.71/MYAPP/update.xml"); private void AutoUpdaterOnCheckForUpdateEvent(UpdateInfoEventArgs args) if (args.Error == null)
} |
Hi everybody,
Is there a way to run it in the background? That is, it does not display the update window to the user. Even though I have set the winform to minimize when running, it still displays the update window.
Anyone can help me, I appreciate your help.
Thank you.
The text was updated successfully, but these errors were encountered: