Open pdone opened 2 weeks ago
It launches the installation file for update. If you are using a zip file as an update file, then it will wait for the app to exit before installing the new version. You can handle Application Exit event as shown here to do something before exiting the app for update.
Are there plans to implement support for single-EXE programs? When a single EXE program is running, update files can only be downloaded to other directories and cannot replace older versions.
Or add a static variable, can you decide whether you need to start the installer after the download is complete?
Can you tell me what is your use case exactly?
I want to download the update without executing Process.Start(), wait for me to do some processing on the downloaded file, and then decide when to execute Process.Start()
ApplicationExitEvent
is not enough for this scenario. #722
https://github.com/ravibpatel/AutoUpdater.NET/blob/f3f1bf2d756e7255c70c7b6f8aac744a0ecf631e/AutoUpdater.NET/DownloadUpdateDialog.cs#L247