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
Solved

Installshield deployment w/o overwriting BDE aliases

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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