Solved

BDE installation!

Posted on 2002-04-29
3
138 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
Comment Utility
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
Comment Utility
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
Comment Utility
perfect!

Thanks alot!!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now