PDA

View Full Version : Setting AUTOODBC system variable with BDE install



NewsArchive
04-14-1997, 12:00 AM
Lets just start off by saying...this sucks.

I have a very complicated installer using IS3 Pro.

IS tells me...sorry, you must use ISX for BDE32 distribution.

So, I kludge together a BDE install using ISX (with no
associated program) and it installs the redistributable
files without too much of a problem...just a LaunchAppAndWait()
call.

Using IS3, I also have to install ODBC32, which happily
they have a decent file on (including some code and
a header file)

You see where I am going here...I need to set AUTOODBC=TRUE
in IDAPI32.CFG in order for BDE to see the aliases.

There is *no* published interface to these other settings
using ISX's braindead GUI only setup...unless I am
missing something.

With BDE16, we had to hack the binary file and write
a little delphi exe that read it in and updated the file.
(BDE 16 was available as a 3 disk re-distributable installer)

I have already tried to simply copy another IDAPI32.CFG
from a setup with that already set, but for somereason,
it still defaults to FALSE.

Any pointers greatly appreciated.

- b

--
Brian P. Van Lieu AXP-Phi Mu Chapter
a008@lehigh.edu LU Ultimate Frisbee --- GOHO!
bvl@ibm.net

95 Frost GSR Coupe Team OS/2...Spreading the news around
the World

Visit the Integra homepage at http://integra.vtec.net

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/CS/MU d++(---) s+:+ a23 C+++ UL++ P++ L++ E W+ N++
w--- O++ M-- V-- t 5 X+ b++ DI++ G+ e++ h* r++ y*
------END GEEK CODE BLOCK------

#define disclaimer
My opinions are mine....

NewsArchive
04-15-1997, 12:00 AM
Hi,

Are you trying to set system wide alias? Express support only application
specific alias.

Sincerely,
Wen-Ting

Brian P. Van Lieu <bvl@ibm.net> wrote in article <33524FE7.2B8B@ibm.net>...
> Lets just start off by saying...this sucks.
>
> I have a very complicated installer using IS3 Pro.
>
> IS tells me...sorry, you must use ISX for BDE32 distribution.
>
> So, I kludge together a BDE install using ISX (with no
> associated program) and it installs the redistributable
> files without too much of a problem...just a LaunchAppAndWait()
> call.
>
> Using IS3, I also have to install ODBC32, which happily
> they have a decent file on (including some code and
> a header file)
>
> You see where I am going here...I need to set AUTOODBC=TRUE
> in IDAPI32.CFG in order for BDE to see the aliases.
>
> There is *no* published interface to these other settings
> using ISX's braindead GUI only setup...unless I am
> missing something.
>
> With BDE16, we had to hack the binary file and write
> a little delphi exe that read it in and updated the file.
> (BDE 16 was available as a 3 disk re-distributable installer)
>
> I have already tried to simply copy another IDAPI32.CFG
> from a setup with that already set, but for somereason,
> it still defaults to FALSE.
>
> Any pointers greatly appreciated.
>
> - b
>
> --
> Brian P. Van Lieu AXP-Phi Mu Chapter
> a008@lehigh.edu LU Ultimate Frisbee --- GOHO!
> bvl@ibm.net
>
> 95 Frost GSR Coupe Team OS/2...Spreading the news around
> the World
>
> Visit the Integra homepage at http://integra.vtec.net
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GE/CS/MU d++(---) s+:+ a23 C+++ UL++ P++ L++ E W+ N++
> w--- O++ M-- V-- t 5 X+ b++ DI++ G+ e++ h* r++ y*
> ------END GEEK CODE BLOCK------
>
> #define disclaimer
> My opinions are mine....
>
>

NewsArchive
04-16-1997, 12:00 AM
Sorry, my last email should go like this:

Are you trying to change system wide settings or alias specific settings?

Sincerely,
Wen-Ting

Brian P. Van Lieu <bvl@ibm.net> wrote in article <33524FE7.2B8B@ibm.net>...
> Lets just start off by saying...this sucks.
>
> I have a very complicated installer using IS3 Pro.
>
> IS tells me...sorry, you must use ISX for BDE32 distribution.
>
> So, I kludge together a BDE install using ISX (with no
> associated program) and it installs the redistributable
> files without too much of a problem...just a LaunchAppAndWait()
> call.
>
> Using IS3, I also have to install ODBC32, which happily
> they have a decent file on (including some code and
> a header file)
>
> You see where I am going here...I need to set AUTOODBC=TRUE
> in IDAPI32.CFG in order for BDE to see the aliases.
>
> There is *no* published interface to these other settings
> using ISX's braindead GUI only setup...unless I am
> missing something.
>
> With BDE16, we had to hack the binary file and write
> a little delphi exe that read it in and updated the file.
> (BDE 16 was available as a 3 disk re-distributable installer)
>
> I have already tried to simply copy another IDAPI32.CFG
> from a setup with that already set, but for somereason,
> it still defaults to FALSE.
>
> Any pointers greatly appreciated.
>
> - b
>
> --
> Brian P. Van Lieu AXP-Phi Mu Chapter
> a008@lehigh.edu LU Ultimate Frisbee --- GOHO!
> bvl@ibm.net
>
> 95 Frost GSR Coupe Team OS/2...Spreading the news around
> the World
>
> Visit the Integra homepage at http://integra.vtec.net
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GE/CS/MU d++(---) s+:+ a23 C+++ UL++ P++ L++ E W+ N++
> w--- O++ M-- V-- t 5 X+ b++ DI++ G+ e++ h* r++ y*
> ------END GEEK CODE BLOCK------
>
> #define disclaimer
> My opinions are mine....
>
>

NewsArchive
06-30-1997, 12:00 AM
There is no need to hack just set this key:

HKEY_LOCAL_MACHINE\Software\Borland\Database Engine\Settings\SYSTEM\INIT

with this value:

(Name:) AUTOODBC (Data) TRUE

your done.

Let me know if you need more help.

Mike P.