Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drive sharing
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00268084
Message ID:
00270462
Views:
25
>Yes-- a self-updating executable is very near on the development schedule. There are numerous ways I can conceive doing this-- how do you go about it?

Our main exe checks for the existence of a file on the local machine and the network (just a text file with a timestamp in it). If the file exists, the file date/time is checked to see if it the files are the same.

If the files are not the same, or one or the other does not exist, the main exe copies the 'copy' program from the server to the local machine (this ensures that file is updated). Then the 'copy' program runs and compares the files in several directories to the master copy on the server - if they do not match, the files are brought down to the local drive. We can delete the text file on the server or the local machine to update all clients or just the one we are on.

We also delete files and directories that are not part of our application - ones that someone has placed there by mistake. We tell our clients this, and for the most part they stay out of that area.

Hope this helps with your development.

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform