Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Automatic updating of client software

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
ezgigurkan
Asked:
ezgigurkan
1 Solution
 
onirionCommented:
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
 
ezgigurkanAuthor Commented:
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
 
crystal_towerCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now