>>Using the setup wizard in VFP50, how do I update the start in property to a different path than the target directory for the icon? I have the data files in a different directory than the exe files. When I install the application, the target directory property is updated correctly, but the start in property is updated with the same path. Is there a way to update these WIN95 properties independently?
>>
>>TIA
>>Carolyn Nobles
>
>I don't really understand the your problem but please let me try. The startup directory is same as the location of Vfp Library File (Vfp300.esl/Vfp500.dll). If the lib file in C:\DIR1, the start up directory will be C:\DIR1 (except you have a lib file in C:\WINDOWS\SYSTEM). Do you put SET PATH and SET DEFAULT to tell the computer the path?
>
>Sunny
Thanks for you help Sunny. Let me try to explain further. My vfp500 file and exe file is in C:\DIR1 while my data files are in C:\DIR1\Data. My question is --is there a way to update the WIN95 icon 'start in' property (under the shortcut properties) without having to manually change the 'start in' property?
During the install I let the user decide which directory they want to install with the default being C:\DIR1. This is set up in the setup wizard step 5 by setting the default directory to \DIR1 and in Step 6 under the PM Item for the exe file by putting %s\main.exe in the command line option.
In my main.prg I 'set default to sys(5)+sys(2003)to point to my directory.
Does all this make since???
Thanks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement