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........
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)
Please log in to answer
Posted by:
sejacru
17 years ago
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]
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
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
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
Posted by:
mark_holland21
17 years ago
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
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
Posted by:
islander222
17 years ago
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
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
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!
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
Posted by:
mac-duff
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
mac-duff
14 years ago
Posted by:
mac-duff
14 years ago
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
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
Posted by:
mac-duff
14 years ago
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
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
Posted by:
mac-duff
14 years ago
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&
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
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
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.
so that the conversation will remain readable.