Solved

Installshield deployment w/o overwriting BDE aliases

Posted on 1997-05-19
4
207 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
  • 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

708 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

14 Experts available now in Live!

Get 1:1 Help Now