Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating link at desktop
Message
De
15/09/1999 07:02:19
 
 
À
14/09/1999 22:43:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00264758
Message ID:
00264844
Vues:
19
>>Many programs create a Link at windows
>>desktop
>>
>> What can I do for Setup of VFP 6.0
>> to create a .LNK in windows desktop
>> automatically after installation ?
>
>The Windows Scripting Host has methods that do this. Search here on WSH.

to clarify this a bit, Setup Wizard doesn't do this on its own - you need to write a post-setup executable to do this and fire it at the conclusion of the Setup Wizard process. Your post-setup exectable would have to create the .LNK on the Desktop.

As Erik mentioned, the Windows Scripting Host has a COM component that is capable of this (Wscript.Shell); you have to install the WSH before using it. An alternative option is to use George Tasker's LNKFILES.DLL add-on to do the same thing; it can be downloaded from the File Section here on UT, and provides similar capabilities as far as creating shortcuts (it does not encompass all the other functionality of the WSH, so I install the WSH with my apps automatically. I don't use the Setup Wizard as my main install tool, though, either.)

The WSH distribution files can be downloaded from msdn.microsft.com/scripting
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