Solved

BDE installation!

Posted on 2002-04-29
3
143 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Magic Software info 18 155
Unique identifier on a terminal server (rdp) 4 85
Convert MS Word document to a PDF file 9 138
can i put an image from resource into image tag ? 6 42
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

751 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