Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating the Update Program
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00735403
Message ID:
00735412
Views:
16
This message has been marked as the solution to the initial question of the thread.
>I designed a basic updating program which all our user's now use. It looks at a server, when the client first starts our program, and then updates whatever is new. A problem we now face, though, is we want to update the update program. Making sure the new version gets installed on all client machines is difficult and likely prone to error. We would rather have our current update program update itself but I can't see anyway to do this!

My updating program is an EXE that does the same as what you do. To be able to update this launcher EXE, the main program called by launcher is also an EXE. The main EXE is called using the RUN /N MYAPP.EXE ID_PARAMETER at the end of the launcher program. The ID_PARAMETER I pass to the main EXE is expected by the main EXE and is a specific value so no one can explicitly launch the main EXE withoug going thfough the launcher EXE. When the user quits the main EXE, I check the server for a new launcher EXE and copy it over to replace the old one.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform