Update ExeFile

  • Thread starter Thread starter JR
  • Start date Start date
J

JR

Hi,

How can I almost complete automatic update the exe files when there is a new
version on the net. offcorse when the user accepts.
I work with 2005. I know I need to work with deploy but I don't find many
information and the help is not very clear for me.



Jan
 
Hi,

How can I almost complete automatic update the exe files when there is a new
version on the net. offcorse when the user accepts.
I work with 2005. I know I need to work with deploy but I don't find many
information and the help is not very clear for me.

Jan

Hi, I've solved this problem by this way:
when the user open my program, it sends version to my website by
webservice.
If a new version is availble a new thread starts to download new zip
file in my program directory.
When the user will open again my program at second time, program will
find a file update.zip exits in the same directory so it starts
update.exe and closes itself.
Update.exe is an existing program that replaces my program with newer
version and after, executes the updated program closing itself.

I hope this explanation is useful for you ;)
 
Alcibiade said:
Hi, I've solved this problem by this way:
when the user open my program, it sends version to my website by
webservice.
If a new version is availble a new thread starts to download new zip
file in my program directory.
When the user will open again my program at second time, program will
find a file update.zip exits in the same directory so it starts
update.exe and closes itself.
Update.exe is an existing program that replaces my program with newer
version and after, executes the updated program closing itself.

I hope this explanation is useful for you ;)
Thats the way I did this in VB6(i used a vbs file) but now on vb2005 there
must be a faster way; however if not i will return to that way

Thanks jan
 
Back
Top