/build/static/layout/Breadcrumb_cap_w.png

IDAPI32.CFG file for BDE -HELP!!

Hello all,

I am currently packaging an application called Shire Frontline and as part of the install the BDE Administrator is installed.
Part of the installation procedure involves editing some settings through the BDE Administrator and this is saved in a file - C:\Program Files\common Files\Borland shared\BDE\IDAPI32.CFG.

I was wondering has anyone ever had to deal with installing this file before?
My worry is that if I install it as part of my package it will overwrite whatever file is present taking with it any previous configuration.

I was thinking about writing a VB Script to check for the presence of the file and if it's present to append whatever is needed to the file. However, this file isn't a basic text file. When opened in notepad a few characters appear not to be recognised, therefore I'm not sure what exactly to append.

Any ideas how to get around this? Anyonwe had to deal with installing this file before?

Thanks in advance for any help........

0 Comments   [ + ] Show comments

Answers (18)

Posted by: sejacru 17 years ago
Second Degree Blue Belt
0
Mark,

Use the bde merge module wich you can download here. bde merge module

Then make a msi file that replaces the idap32.cfg file.

[link]http://www.bestdesktopsolutions.com/cms/index.php?option=com_content&task=view&id=78&Itemid=30[/link]
Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
Hi Sejacru,

Thanks for your reply.
I've downloaded that exe, in fact 2 exe's, the pro and enterprise versions. However, I can't install these as apparently i need a version of Delphi or C++ installed.

I've looked into it through the help in installshield and it looks like there is a BDE Design wizard that you can use to take care of it, but apparently you need to have a version of Borland installed on your machine before Installshield is installed. Otherwise it won't pick up the BDE Merge Module.

I'm in the middle of investigating this and I'll keep you posted. In the meantime, what do i need once i've got the Merge Module exe installed?

thanks again,
Mark
Posted by: sejacru 17 years ago
Second Degree Blue Belt
0
If you want i can email you the merge modules. Its about 10MB!!
If you have the merge module just copy it to your merge module directory.
If your snapshot detects that there is a bde install it automatically puts the merge module in the msi.
Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
Hi again,

Sorry, I've been a bit stupid, it is early and nearly the weekend.
I've just done an admin install on the exe's i downloaded and I now have the Merge Modules.

OK, I've now got the Merge MOdules in my msi and I can launch the BDE Configuration Utility, but this is where i get lost.

How do I use this?? I'm looknig at some articles online at the moment in relation to it so hopefully I'll find something but if not, any ideas what i do next?

Thanks,
Rdgs,
Mark
Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
Hello,

Does anyone know how to use the BDE Configuration Utility frmo within Installshield?

thanks.
Mark
Posted by: islander222 17 years ago
Senior Yellow Belt
0
Hey Mark,

I haven't actually used this, but I have some documentation here on it:

=================

USING THE BDE MERGE MODULE

Follow these steps to incorporate the BDE Merge Module in your project:

1. Copy BDE_PRO.MSM or BDE_ENT.MSM into the Merge Module directory
used by your setup authoring tool.

2. Add a feature called "BDE" to your project.

3. Specify the BDE Merge Module as a component for the BDE feature.

4. Build the .MSI file.

5. Use the BDE Merge Module Wizard (BDEMMCFG.EXE) to define the
drivers and aliases to be deployed. You can choose BDE aliases,
or deploy drivers without aliases by choosing them from an option list.
This information is stored in a BDEMERGE.INI file which must be
distributed with the .MSI file.

_____________________
INSTALL PATH PROPERTY

The BDE Merge Module obtains the BDE installation directory from the
following property:

BDE_INSTALL_PATH.E966F0CB_76B3_11D3_945B_00C04FB1760A

The string after the dot is the BDE Merge Module GUID. Use of the GUID
follows the Microsoft Merge Module Naming Convention to ensure a unique
property name.

This property is set by an installer Custom Action, "BDERunning". The
action searches for an existing BDE installation by examining the
registry and the hard drive. If an existing BDE is found, the property
points to its location. Otherwise the property has the default value of
"<PROGRAM FILES>\Common Files\Borland Shared\BDE".

You can change the installation directory with a standard or custom
action. This action should come before the FileCost action in the
InstallExecute sequence, to avoid a disk space error.

=====================

Whenever BDE Merge Module is included in the ism, each time the ism is built, BDE Merge Module should be un checked and again included along with the BDEMerge.ini file. Other wise, each time it is built, BDE Merge.ini gets deleted from the Binary table, hence BDE Configuration will not reflect.

=====================

If that doesn't help, let me know and I'll see what else I can dig out!

Adrian
Posted by: jonatas.lessa 17 years ago
Senior Yellow Belt
0
Hi adrian,

Thanks for the great post!

I've tried to follow the steps you post here, but the link is broken to me here (ftp://ftp.borland.com/pub/bde/devsupport/updates/, maybe my firewall is blocking the access, can you access normally?). I downloaded the archive from Installshield Macrovision knowledge base, but seems I need to have a valid installation of Delphi Enterprise or C++Builder compiler to run it. The file downloaded from Borland asks you for these pre-requisites? Will I have to install 1 of the these 2 compilers to run the BDE Merge Modules setup file?

Thanks!
Posted by: jonatas.lessa 17 years ago
Senior Yellow Belt
0
Hi folks,

I´ve tried to install the Delphi Enterprise edition here, in order to perform the extraction of the BDE merge modules, but fails again, the BDE MM setup file couldn't find its pre-requisites. Some tip for me? Any help would be pretty much appreciated...
Posted by: mac-duff 14 years ago
Second Degree Blue Belt
0
Hi,

could please anybody upload the BDE_PRO.MSM?

Thx

Edit: Just got it from another site, but was quite hard to find both
Posted by: mac-duff 14 years ago
Second Degree Blue Belt
0
is this error just by me?

451 /pub/bde/devsupport/updates/bdemm52ent.exe: Permission denied
Posted by: mac-duff 14 years ago
Second Degree Blue Belt
0
but anyway, I got it finally from other source.

Now I have a strange problem and dont know what it is. So far it works, the merge module installs the connection but every time it does not fill out the server name. Every time it leaves it blank. Do I need to do this the server password? When I create the ini file the server name is included.

Ay ideas :D
Posted by: anonymous_9363 14 years ago
Red Belt
0
No, I get it, too. Searching for 'bdemm52ent.exe' produced some hits for mirror sites but, given the domains they're in, I'd be cautious. Maybe there's a trial version of Delphi knocking about? That will contain the MMs.
Posted by: mac-duff 14 years ago
Second Degree Blue Belt
0
Well,
u can get the Enterprise from this source:

http://www.filewatcher.com/m/bdemm52ent.exe.9676931.0.0.html

I just recovered a second error. In the filed: Options I have just the value: USEALIASES=TRUE but there should be two:
USEALIASES=TRUE;DEFAULTNULL=TRUE

and that the server name filed is blank

:( Why can not soemthing work directly from the beginning
Posted by: anonymous_9363 14 years ago
Red Belt
0
Why can not soemthing work directly from the beginning Where would the fun be then? :)
Posted by: mac-duff 14 years ago
Second Degree Blue Belt
0
well, I learned already that when I change the order I get my server, just the options are still missing:
OPTIONS:USEALIASES=TRUE;DEFAULTNULL=TRUE

There is one ";" to much but I guess its necessary or can I also use a "," ?

And dont know how to uninstall btw ;)

Edit:
Just saw this post and maybe I can use this tool:
http://itninja.com/question/how-do-you-roll-out-new-machines?6457&mpage=1&key=creator&
Posted by: aoboroc 13 years ago
Yellow Belt
0
Hi guys, I just published my command-line tool for modification of BDE configuration file (idapi32.cfg). Check it out, hope it'll make your life easier: http://idapi32cfg.codeplex.com/
Posted by: Rheuvel 13 years ago
Brown Belt
0
You should also add it to the tools section: http://www.appdeploy.com/tools/ ;)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ