Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetUp Wizard + Target Dircetory
Message
From
27/09/1998 09:52:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00141185
Message ID:
00141217
Views:
25
You will probably not be able to duplicate the problem on your development machine. Problems have a way of hiding on the development machine. If you installed on a machine 'clean' of vfp or your project development files, it probably would duplicate the error.

As to the substantive issue, if your "\data" directory is a subdirectory of the main install directory, then the distributed app created with the setup wizard should have no problem finding the files - I believe so long as you DO NOT use a SET DEFAULT or SET PATH statement(take them out of the project when compiling the distribution). An automatic search of the installed directory and its subdirectories will be made without anything further. Also, you would need to make sure there are no hard coded references to drives or main install directory. Should use relative references to your data directory assuming the install directory is the main directory.

>>>* should I find the curdir() and set the path to that + "\data"
>>
>>That would be my guess. It should be pretty easy to test, right?
>
>thanks for your reply...
>Odd things happening, I changed the path but it still couldn't find the tables. If I opened the 2 databases in my main program would that force the relationship? I've had to hard code the opening of the file and remove it from the dataenvironment for my post-install setup program.
>
>Unfortunately I can't repeat the problems other users have had running the main exe.
>
>Sarah
Wesley T Kozeny
Wesley T Kozeny LC
1303 Red Oak Plantation Drive
Ballwin MO 63021
314-991-0255 phone
314-991-6755 fax
wkozeny@wkozeny.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform