Solved

Installshield deployment w/o overwriting BDE aliases

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

937 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

6 Experts available now in Live!

Get 1:1 Help Now