how to make an autoupdate program

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

how to make an autoupdate program

Post by José Luis Sánchez »

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,
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

Post by hua »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: how to make an autoupdate program

Post by Enrico Maria Giordano »

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
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

Friend

Use the FTP Class too. With FTP Class you can download the update in silince.
Post Reply