Replies: 7 comments
-
ApplicationExitEvent fires when download completes and installer or ZipExtractor is launched for update as shown here. So you don't need to fire the installer using Process.Start as it will automatically do that. You just have to exit the app gracefully. |
Beta Was this translation helpful? Give feedback.
-
Hmmm…Not sure I get it here: what I would like to achieve is restart my app once the update is complete. How can it be done? |
Beta Was this translation helpful? Give feedback.
-
If you are using a zip file as an update file, then it should automatically do that if the executable name is the same as the previous one. If it was changed, then you can just supply the relative path to executable in your XML, and it will execute that one.
|
Beta Was this translation helpful? Give feedback.
-
Hello again,
Hope I made myself clear enough :-) Sorry for not being a professional coder... |
Beta Was this translation helpful? Give feedback.
-
Edit: |
Beta Was this translation helpful? Give feedback.
-
Ooops: can't set the xml file correctly here...First parm is "version", second is "url", third is "mandatory" |
Beta Was this translation helpful? Give feedback.
-
You have to handle launching the application from MSI file as it is responsible for updating the application in this case. There is no way to handle the launching after third party installer finishes. If you use zip file instead, it will automatically launch the app as it is handled by AutoUpdater.NET. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Ravib
Please excuse my (probably) trivial question:
I am successfully using your wonderful AutoUpdated.NET tool in a forced update mode and I'd like to close the installer and restart the application once the update has been downloaded./extracted
Reading your docs, I figured that this can (maybe) be done using AutoUpdater.ApplicationExitEvent. Is this right and, if so, do you just fire the new application using Process.Start and closing the installer with Application.Exit?
How about creating some sort of an "DownloadCompleted event in which this could be done?
Thanks again and best regards from France,
Philippe
Beta Was this translation helpful? Give feedback.
All reactions