Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a shortcut thru setup
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00190821
Message ID:
00190862
Views:
15
>Hello all,
>
>Does anyone know how to programatically create a desktop
>shortcut (i.e. during an application setup)
>

The Setup Wizard doesn't provide this facility directly, but it's be easy to code into a post-setup executable using either George Tasker's wrapper .DLL that provides access to the necessary API calls, or through the WSH's Wscript.Shell automation object (if you check, there's an ongoing thread right now on WSH being used to do just that.)

Other installation tools (I use InstallShield Pro) give you the ability to do this as well (they aren't free, and in most cases, take a bit of work to use.) InstallShield provides a complete programming language for writing installation scripts; you can incorporate installs created with Setup Wizard into an InstallShield-created install and then use InstallShield to provide whatever additional functionality you feel you need. Other people here use any number of other tools, and I'm sure will jump in with their recommendations shortly.

So far, I haven't found anything I couldn't do with InstallShield, but there's a steep learning curve associated with it, and the Pro version is not cheap.
I'd investigate using a post-setup executable if cost ius a major issue, since you could leverage your existing knowledge of VFP writing one.

Ed
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
Previous
Reply
Map
View

Click here to load this message in the networking platform