Solved

BDE installation!

Posted on 2002-04-29
3
142 Views
Last Modified: 2010-04-04
Hello folks!

I'm working on a project using Delphi4 and Paradox DataBases.  I've done most of my project but I have a Q regarding the installation stuff.  I use InstallShield Express for Delphi which comes with Delphi4 for the installation setup.  

Everything works fine except for one thing:  I can't figure out a way to configure the NET DIR (configuration -> Drivers -> Native -> Paradox) at install time.  I have to sit at every single computer to change the path which, at our age of speed and productivity, isn't what my boss wants!  I would like to set the setup file to change it automatically.

Any hint ?
0
Comment
Question by:qas
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 6977483
you have a session-object within your app.
you can there adjust the netfiledir at runtime
(do this first before openening any table)

preferable location may be the application-location
like

session.netfiledir := extractfilepath(application.exename);

if you do so, you have no need to set the net dir during installation.

hope this helps

meikl ;-)
0
 
LVL 4

Expert Comment

by:YodaMage
ID: 6977484
Easy, set it up once then overwrite the \Program Files\Common Files\Borland Shared\BDE\IDAPI.CFG. You can also overwrite this file as part of your install by cheating and attaching a self extracting .zip file to do this overwrite, then firing it from the 'run file' at end of install.
0
 

Author Comment

by:qas
ID: 6977681
perfect!

Thanks alot!!
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question