Solved

BDE installation!

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

11 Experts available now in Live!

Get 1:1 Help Now