Solved

Automatic updating of client software

Posted on 2009-05-13
3
235 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
This video shows how use content aware, what it’s used for, and when to use it over other tools.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

685 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