Solved

Installshield deployment w/o overwriting BDE aliases

Posted on 1997-05-19
4
213 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 200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

724 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