Solved

BDE installation!

Posted on 2002-04-29
3
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month6 days, 23 hours left to enroll

623 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