how to make an autoupdate program

how to make an autoupdate program

Postby José Luis Sánchez » Wed Feb 14, 2007 7:01 am

Hello:
I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing the old exe for the new one.

Anybody that has this implemented wants to share it ?

Regards,
User avatar
José Luis Sánchez
 
Posts: 554
Joined: Thu Oct 13, 2005 9:23 am
Location: Novelda - Alicante - España

Postby hua » Wed Feb 14, 2007 7:46 am

I'm not sure whether this is what you're looking for but you can give it a try. http://www.fivewin.info/html/downloads. ... ons&id=288
hua
 
Posts: 1070
Joined: Fri Oct 28, 2005 2:27 am

Re: how to make an autoupdate program

Postby Enrico Maria Giordano » Wed Feb 14, 2007 11:25 am

José Luis Sánchez wrote:Hello:
I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing the old exe for the new one.

Anybody that has this implemented wants to share it ?

Regards,


Just use a second EXE. From you main EXE: run the second EXE and close the main EXE. Then download the new EXE and run it.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8600
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Rochinha » Wed Feb 14, 2007 3:48 pm

Friend

Use the FTP Class too. With FTP Class you can download the update in silince.
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 88 guests