Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setup wizard
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00283684
Message ID:
00283823
Views:
9
>i have a setup exe that installs databases in a directory and in a subdirectory, in the setup wizard you can tell it to make the program manager links (start menu links). but the problem i am having is that the sub-directory links have the working directory as the main directory. i.e "C:\temp" not C:\temp\testdata".
>
>the reason why i need two sets of databases is because the set in the sub-directory has test data in them and the main directory has empty databases in them.
>
>is there any way i can make the working directory of the links change on the setup or is there any way i can tell where the start menu is stored under windows? i am hoping to install my application on all operating systems show i guess the start menu will be in diiferent places under each operating system, i am right?
>

You can manipulate shortcuts programmatically using George Tasker's LNKFILES.DLL or the Windows Scripting Host's Wscript.Shell CreateShortcut method. If you look at the threads from the past week, you'll find some that discuss how to create and modify shortcuts.

Both George's DLL and the WSH Wscript.Shell have methods to find the Start menu, Desktop and the like; the Wscript.Shell's SpecialFolders colection gives access to a number of the special locatiosn that will vary from system to system and OS to OS.

>thanks
>
>
>daryl
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