Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing exe then copying a new version over it
Message
 
 
To
19/01/2012 10:19:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01533292
Message ID:
01533301
Views:
65
Hi Nicholas

I'm trying to write a simple program updater that goes through updates and copies them as needed. UPDATER.EXE that calls
say MAINAPPLICATION.EXE after copying updates.

BUT I realised that I need to be clever and maybe sometimes update the UPDATER.EXE itself as well as my Main App.

>>Hi
>>
>>I know how to run a shortcut from VFP, but now I need to QUIT my exe, copy a new EXE over the top of it and
>>restart the original shortcut that ran my Foxpro EXE in the 1st place.
>>
>>TAI
>
>I think you'll need to wrap your exe in a launcher That way you can control what happens when you exit it (you'll still be in the launcher) and choose to overwrite the old exe and relaunch the new version.
Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform