Subject RE: [firebird-support] Basic Embedded Installation Needs
Author Thomas Steinmaurer
> I just needed confirmation that the list below is correct when planning for
> an installation of firebird.
>
> Path eg. C:\MyApp
>
> C:\MyApp\MyApp.exe NEEDED

Right.


> C:\MyApp\fbclient.dll (renamed fbembed.dll) NEEDED

Or renamed to gds32.dll. It depends on what library name your
component package for accessing the database expects.


> C:\MyApp\intl\fbintl.dll NEEDED

That won't hurt.


> C:\MyApp\udf\fbudf.dll NEEDED

Yes, if you use any UDFs from this UDF library


> ?:\Somehere\Somewhat.Database NEEDED

Why not put the database in the same directory as MyApp.exe?
For example I'm using my CRM app on an USB stick, and having
the database in the same database as the application might
makes things smoother, for example there is one line in my
app's configuration file for specifying the path to the
database.

Database=MyCRM.gdb

So, I don't need to specify any path or driver letter (which
is hard to predict on an removeable media like an USB stick!).


> C:\MyApp\firebird.conf OPTIONAL

The embedded server can use the .conf file. So if you want
to place the embedded server related files (except the
embedded server itself) into another directory, then you
can use the RootDirectory Parameter in firebird.conf. You
don't need to set this parameter, if you place the embedded
files into the sub-directories of the application (as you
have used them in your example above).


> C:\MyApp\firebird.msg OPTIONAL

That's needed (AFAIK). At least I've copied it into the
app directory as well.


> Registry HKEY_LOCAL_MACHINE\SOFTWARE\Firebird Project\Firebird
> Server\Instances OPTIONAL

The embedded server doesn't rely on any registry keys at all!

Have you read the README_embedded.txt file in the embedded server
distribution?

For example:

2. ISSUES AND LIMITATIONS

2.1. Registry

The Firebird registry entries are ignored. The root
directory of the embedded server is the directory of
its binary file (library).



Best Regards,
Thomas Steinmaurer

Logging/Auditing Suite for InterBase and Firebird
http://www.iblogmanager.com