Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Entering database details without the administration utility
Wed, Apr 15 2009 2:48 AMPermanent Link

Anf

Normally when setting up databases and users you use the database server administration
utility to add/edit these details. Is there a way to have these details entered through an
automated approach?

Basically I have an installation wizard for client computers that can install/setup all
the software except for the database details for db server, is there a registry key or
file that this is contained within that i could customised and push through the
installation wizard process?


Hope that makes some sort of sense, thanks in advance...
Wed, Apr 15 2009 5:50 AMPermanent Link

"Eduardo [HPro]"
Anf

Yes, there is a way. Just connect to the server using Administration port
(12006) and use the session available methods to handle what you desire. For
example

RemoteSession.AddRemoteDatabase(<name>,<description>,<path>)
or
RemoteSession.ModifyRemoteDatabase(<name>,<description>,<path>)

Check the help to see all the methods available. Using it in this way you
can set whatever you want without any user interference.

Eduardo

Mon, Apr 20 2009 10:38 PMPermanent Link

Anf
right so i would have to write another app that gets fired after the installation to
configure the databases, users, etc...

does anyone know where all of the details for the databases and users on a local PC get
stored?
Tue, Apr 21 2009 11:15 AMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Anf,

> does anyone know where all of the details for the databases and users on a local PC get
> stored?

That information is stored in a binary file called (by default) "dbsrvr.scf".

--
Fernando Dias
[Team Elevate]
Tue, Apr 21 2009 1:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< Basically I have an installation wizard for client computers that can
install/setup all the software except for the database details for db
server, is there a registry key or file that this is contained within that i
could customised and push through the installation wizard process? >>

Yes, absolutely.  You'll need to do the modifications in code, but you can
find a reference to the configuration calls here:

http://www.elevatesoft.com/manual?action=mantopic&id=dbisam4&product=d&version=7&category=1&topic=7

You can configure the server remotely via a TDBISAMSession, or locally from
within the server itself using the TDBISAMEngine component.   The advantage
of putting the configuration code in the dbsrvr.dpr project that we provide
(in the FormCreate for the main form or somewhere similar) is that the
server then becomes self-configuring and only needs to be copied into the
desired location and then started up.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Apr 21 2009 7:07 PMPermanent Link

Anf
alright ill check it all out, thanks for all the replies everyone, very much appreciated...

Smile
Image