Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing exe then copying a new version over it
Message
 
 
À
19/01/2012 10:19:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01533292
Message ID:
01533301
Vues:
64
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform