Solved

Automatic updating of client software

Posted on 2009-05-13
3
232 Views
Last Modified: 2013-12-12
I was wondering if it's possible to set a piece of software to automatically check and update itself when a new version is available. I've written a program in java for a company and it would be great if I could make it automatically update itself. Is there anyway to do this? Only thing I can think of is using SVN, though I still don't see how it could work.

Thanks.
0
Comment
Question by:ezgigurkan
3 Comments
 

Expert Comment

by:onirion
ID: 24381942
Depends on how complicated you want it, one way to do this is to develop an application loader. What the application loader will do is check for example an FTP server for a newer file, if one is found then you download and after that execute your main application.
0
 

Author Comment

by:ezgigurkan
ID: 24381972
How can you check for a newer file in an ftp server? As in how can you check if the file you want is the current or a new version?

Do you know of any sources that I can use to develop an application loader?
0
 
LVL 3

Accepted Solution

by:
crystal_tower earned 500 total points
ID: 24382400
Look for instance at:
http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx
or
http://www.codeproject.com/KB/vb/Automatic_Online_Update.aspx

I have developed a simple solution a long time ago. I have put 2 files on web serwer: installation exe and aupdate.xml file, which contained the version info. Every few days my application was downloading aupdate.xml and parsing it to find out if there is a newer version. If yes, installer was downloaded and run - of course only when user decided to do so.

Xml can additional contain changes list and installer filename. It can also present list of applications for end user to choose from. Once he will get one, he will be presented with more.

cheers
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question