Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From VFP5 to VFP6
Message
De
27/11/2002 17:33:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
27/11/2002 14:58:28
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00727725
Message ID:
00727797
Vues:
11
>Hi all,
>
>How do you programmtically upgrade 100 user machines from VFP5 to VFP6 without physically going to the user areas and without user intervention?

Put a setup.exe for a "hello world" app on the server; that one would install vfp6 runtimes.
Have a launcher which is named as your old vfp5 exe, and have it check for the existence of the VFP6 runtime on the user's box. Then use Ed Rauh's API_AppRun class to run the setup.exe if the runtime is missing, or run the real app's VFP6 executable if it's already there. Then quit the launcher. Launcher should be a VFP5 exe, so it would run on any machine which was able to run the old app.

You'll notice that there are a few details missing here - first, at the moment I don't know how exactly to detect the presence of VFP6 runtimes. There should be certain files in the windows' system directory, but don't have the details at hand. Second, there was some trick to build a setup which would run silently, but I don't even remember which tool did we use to build it - it's been two years ago. Still, all this didn't take more than few hours to make, and it worked flawlessly.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform