?
Solved

Help with InstallShield to change BDE alias path to correct directory

Posted on 2003-03-14
3
Medium Priority
?
498 Views
Last Modified: 2013-11-23
Hello Delphi Experts,

When I install my Delphi database program on another computer, the installation routine changes the PATH parameter on the database alias in the BDE Administrator to the installation directory
(C:\ProgramFiles\AAA\Project2) instead of the directory where I put the database files (C:\ProgramFiles\AAA\Project2\Data).  I have looked and clicked everything I can think of to try to tell InstallShield to use the \Data directory when it changes the DB alias, but can't figure out how to do it.

If I copy the files up from the \Project2\Data directory into the \Project2 directory, the program works just fine.  But I wanted them in a seperate directory to make database backups easier.

Thank you for your insight into this situation.

Dean Atteberry.
0
Comment
Question by:DeanAtteberry
[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
 

Accepted Solution

by:
LizaPaul earned 200 total points
ID: 8140916
See if this works,

1. In "General Options" option in general tab, when the BDE settings are defined,  set the path of the alias to <installdir>\Data (data being the folder to which the data files need to be copied).

2. In "Groups and files" option create a new group DATA and set the destination directory to <installdir>\Data

This should normally do the trick.
0
 

Expert Comment

by:da-vinci
ID: 8142112
I also looked quite some time before I found out how to work with alias in the BDE.

I use the Installshield Express, delivered with delphi 6 I believe.
You can then define the database dir. But, more important,when you right click on the BDE merge module you can configure the alias and the path for that alias.
0
 

Author Comment

by:DeanAtteberry
ID: 8147027
30 seconds to implement your suggestion and it works great!

Thanks for your help!

Dean.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

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…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

777 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