Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating an icon
Message
 
To
24/01/2002 00:39:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00609533
Message ID:
00609629
Views:
16
>Is there a way to somehow in install procedure on a client machine create icon on a desktop with desired shortcut?
>
>How can I programmatically add shortcut to installed programm in start menu because installation disks don't do that (I tried everything but without solution).
>
>Thanks.

I assume that you're using VFP 6.0 or earlier and the setup wizard. If so, what you need to do is create a post-setup executable to handle this task. If your situation is such that you can't rely on the Windows Script Host being available, I'd suggest my Lnkfiles.dll (Shortcut Link Files). It comes with documentation in Fox code showing how to use it. You can simply copy and paste the code from the help file.

If the WSH is available, you'll still need a post-setup executable, but not my dll. Details on using the WSH to do this can be found in the October, 2000 issue of the VFUG newsletter, in the series that Ed Rauh and I wrote on the WSH. It's available on-line at www.vfug.org.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform