Is it possible to update an application to a new version without closing it?
Or is there a good way to do that without user noticing it was closed?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Typically applications notice on startup that an update is available, then ask the user whether it’s okay to update. They then start the update process and exit. The update process replaces the files, then launches the new version.
In some cases you may be able to get away with updating some pieces of an application without a restart – but the added complexity is significant, and frankly it’s better not to try in 99% of cases, IMO.
Of course, you haven’t said what kind of app you’re writing – if you could give more information, that would help.