Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setup client install w/Post EXE to copy the Shortcut
Message
De
10/01/2002 21:56:56
 
 
À
10/01/2002 20:27:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00603280
Message ID:
00603304
Vues:
22
>I have created a "post executable" to run after
>the user installs my product. A simple =messagebox()
>I want to somehow programatically
>"copy file" the EXE to the OS() "Desktop" as a Shortcut.
>This does not work so well. Using V6....

This is best done outside of VFP's Setup Wizard, since if the runtime is installed by Setup Wizard, it may not have completed installation of the runtime until the system reboots. I'd recommend writing a small app in another language to create a shortcut on the desktop using either the Windows API or Windows Script Host's Wscript.Shell object to create the desktop shortcut, or switching to using Visual Studio Installer 1.1 (available for free from MS; http://msdn.microsoft.com/vfoxpro/downloads has it listed.) For WSH information, see the links in my sig block and the 5 part article that George Tasker and I wrote in the fall of 2000 for VFUG - www.vfug.org)

>Please Help, Thanks
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform