El Mac
El Mac

Reputation: 3419

Implementing an auto-update mechanism

I have a question about updating applications.

If I want an application to always be up-to-date, I would probably implement a launcher that checks if it is the latest version.

What are the pro's and con's of this approach, and is there an other way to achieve this behavior in compiled programming languages (specially .NET / Java)?

How would I update the launcher? I have seen applications that can do that also.

Thanks

Upvotes: 1

Views: 1867

Answers (2)

Abhi
Abhi

Reputation: 744

The method of writing a launcher and checking for update is usually followed by all the applications that checks for updates. Although no necessary. Alternative to this can be a call back function which will send a "request of update" from server(the dev machine) to clients(where application is installed) when the server has a new update.

Pros of the having client to check for available update at server: Widely used Also there are buildin classes (available for .net http://msdn.microsoft.com/en-us/library/ms404263.aspx) Cons: Will keep checking even if update is not there (every time application is launched or timeout occurs)

Pros of callback method: no un necessary traffic (even its a very small amount still a request is made)

Cons: I dont remember of seeing any apis for such a method. So you need to implement these all by yourself.

Upvotes: 2

Related Questions