AppDeploy.com

 


IDAPI32.CFG file for BDE -HELP!!

Click here to associate this thread with a Package KB article.
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [AppDeploy Forums] >> Package Development >> IDAPI32.CFG file for BDE -HELP!! Page: [1]
Login
Message << Older Topic   Newer Topic >>
IDAPI32.CFG file for BDE -HELP!! - 6/1/2006 12:26:36 PM   
mark_holland21

 

Posts: 125
Score: 0
Joined: 12/16/2005
Status: offline
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........
Post #: 1
RE: IDAPI32.CFG file for BDE -HELP!! - 6/1/2006 5:17:19 PM   
sejacru


Posts: 186
Score: 0
Joined: 2/21/2005
From: The Netherlands
Status: offline
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.

http://www.bestdesktopsolutions.com/cms/index.php?option=com_content&task=view&id=78&Itemid=30

< Message edited by sejacru -- 6/1/2006 5:26:53 PM >


_____________________________

greetings sejacru

(in reply to mark_holland21)
Post #: 2
RE: IDAPI32.CFG file for BDE -HELP!! - 6/2/2006 4:20:15 AM   
mark_holland21

 

Posts: 125
Score: 0
Joined: 12/16/2005
Status: offline
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

(in reply to sejacru)
Post #: 3
RE: IDAPI32.CFG file for BDE -HELP!! - 6/2/2006 4:39:43 AM   
sejacru


Posts: 186
Score: 0
Joined: 2/21/2005
From: The Netherlands
Status: offline
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.


_____________________________

greetings sejacru

(in reply to mark_holland21)
Post #: 4
RE: IDAPI32.CFG file for BDE -HELP!! - 6/2/2006 5:06:40 AM   
mark_holland21

 

Posts: 125
Score: 0
Joined: 12/16/2005
Status: offline
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

(in reply to sejacru)
Post #: 5
RE: IDAPI32.CFG file for BDE -HELP!! - 6/5/2006 3:28:14 AM   
mark_holland21

 

Posts: 125
Score: 0
Joined: 12/16/2005
Status: offline
Hello,

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

thanks.
Mark

(in reply to mark_holland21)
Post #: 6
RE: IDAPI32.CFG file for BDE -HELP!! - 6/5/2006 7:58:41 AM   
islander222

 

Posts: 27
Score: 1
Joined: 4/19/2005
Status: offline
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

(in reply to mark_holland21)
Post #: 7
RE: IDAPI32.CFG file for BDE -HELP!! - 6/7/2006 12:40:56 PM   
jonatas.lessa

 

Posts: 6
Score: 0
Joined: 5/17/2006
Status: offline
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!

< Message edited by jonatas.lessa -- 6/7/2006 2:12:32 PM >


_____________________________

Regards,
Johnny

(in reply to islander222)
Post #: 8
RE: IDAPI32.CFG file for BDE -HELP!! - 6/8/2006 4:24:47 PM   
jonatas.lessa

 

Posts: 6
Score: 0
Joined: 5/17/2006
Status: offline
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...

_____________________________

Regards,
Johnny

(in reply to jonatas.lessa)
Post #: 9
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 8:08:31 AM   
macduff

 

Posts: 34
Score: 0
Joined: 7/31/2008
Status: offline
Hi,

could please anybody upload the BDE_PRO.MSM?

Thx

Edit: Just got it from another site, but was quite hard to find both


< Message edited by macduff -- 12/17/2009 8:31:54 AM >

(in reply to jonatas.lessa)
Post #: 10
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 8:29:34 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
Lazy boy...http://info.borland.com/devsupport/bde/bdeupdate.html

_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to macduff)
Post #: 11
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 8:32:42 AM   
macduff

 

Posts: 34
Score: 0
Joined: 7/31/2008
Status: offline
is this error just by me?

451 /pub/bde/devsupport/updates/bdemm52ent.exe: Permission denied

(in reply to VBScab)
Post #: 12
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 9:18:58 AM   
macduff

 

Posts: 34
Score: 0
Joined: 7/31/2008
Status: offline
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

(in reply to macduff)
Post #: 13
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 9:24:40 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
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.


_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to macduff)
Post #: 14
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 9:32:07 AM   
macduff

 

Posts: 34
Score: 0
Joined: 7/31/2008
Status: offline
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

(in reply to VBScab)
Post #: 15
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 10:29:41 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
quote:

Why can not soemthing work directly from the beginning
Where would the fun be then? :)


_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to macduff)
Post #: 16
RE: IDAPI32.CFG file for BDE -HELP!! - 12/17/2009 10:36:47 AM   
macduff

 

Posts: 34
Score: 0
Joined: 7/31/2008
Status: offline
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://www.appdeploy.com/messageboards/tm.asp?m=26457&mpage=1&key=creator&


< Message edited by macduff -- 12/17/2009 11:40:33 AM >

(in reply to VBScab)
Post #: 17
RE: IDAPI32.CFG file for BDE -HELP!! - 7/28/2010 7:51:02 PM   
aoboroc

 

Posts: 2
Score: 0
Joined: 7/28/2010
Status: offline
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/

(in reply to macduff)
Post #: 18
RE: IDAPI32.CFG file for BDE -HELP!! - 7/29/2010 4:03:45 AM   
Rheuvel


Posts: 200
Score: 0
Joined: 6/11/2008
From: The Netherlands
Status: offline
You should also add it to the tools section: http://www.appdeploy.com/tools/ ;)

_____________________________

A computer once beat me at chess but it was no match for me at kick boxing.

(in reply to aoboroc)
Post #: 19
Page:   [1]
All Forums >> [AppDeploy Forums] >> Package Development >> IDAPI32.CFG file for BDE -HELP!! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.047