?
Solved

Installshield deployment w/o overwriting BDE aliases

Posted on 1997-05-19
4
Medium Priority
?
216 Views
Last Modified: 2010-04-03
I'm trying to deploy several applications that *must* use BDE aliases (data on MSSQL server).  If I tell Installshield that I want to use the BDE, it then loads the files that I need, and includes idapi32.cnf in the CNF group.  If I leave it like this, the cnf-file will overwrite my user's idapi32.cfg when the installshield-packed application is deployed, thereby killing the old aliases.

If I delete the CNF group, and tell installshield to create the aliases for me, at installation-time, these creation requests are ignored.

If I leave the CNF group, but delete the CNF file from it, then tell installshield to create the aliases for me; at install-time, a non-fatal error is reported, but the aliases are correctly merged with the user's current aliases.

My question is:  how do I get rid of the install-time error?
0
Comment
Question by:W7257H
[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
  • 2
4 Comments
 

Author Comment

by:W7257H
ID: 1336465
Edited text of question
0
 

Author Comment

by:W7257H
ID: 1336466
Edited text of question
0
 

Expert Comment

by:kangadru
ID: 1336467
Unfortunately the IS Express that shipped with Delphi 2.0 is a little inflexable for this kind of operation, it deals with the BDE creation it's way.  I have battled the same problem for some time without much success.  I finally resorted to upgrading my InstallShield to the 2.0 Express product and writing a fast and furious DLL to handle the IDAPI install.  I'd offer source code, but I must get permission from the customer who is security paranoid.Andy
0
 

Accepted Solution

by:
Ritalin Boy earned 400 total points
ID: 1336468
Well, one thing you can do is to eliminate the need for doing aliases,
using a program called DBScanner.  I havent really toyed with it much yet, but i have seen it used and it is really good.  IT basically puts all of the date needed for the Database files rite into the program code - you still need the BDE DLLs but it makes life easier - it also eencodes all of the .dB, .val, etc files into the EXe - the first time your user runs the program, it 'unzips' the files into a directory. This makes distribution easier. Im not sure where to get DBScanner - someone gave it to me, but if you email me, i can mail you a copy (it's freeware).
I hope this helps.
0

Featured Post

Technology Partners: 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

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