Solved

Automatic updating of client software

Posted on 2009-05-13
3
221 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Neat Receipts NM-1000 Portable Scanner 11 82
IT Asset Management 5 49
Denali Software 2 15
Determining Project Cost 1 28
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now