>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