Databases - Installing Firebird 1.5.1

Due to dll conflicts, Interbase and Firebird are no longer compatible. However, the instructions I've written for the Interbase DataPump rely on InterBase Windows ISQL. As a result, the general installation procedure is to

Installation Notes | Uninstalling Interbase 5 | Uninstalling Interbase 6
Reinstalling Interbase Tools | Registry Modifications


Installation Notes

After installing Delphi 5 and Interbase 5, I downloaded and excuted Official Windows Setup and Installer For Classic and SuperServer V1.5.1 (07-16-04). As a result, I got the following warning.

Pre-installation analysis indicates that 1 existing Firebird or Interbase version 
has been found.
InterBase   Minimal client install. 


 (Install appears broken due to version string mismatch.)

If you continue with this installation Firebird will be installed but not configured. You will have to complete installation manually.

Do you want to CANCEL this installation?

I selected No to continue the installation.

The readme file says

Before installation
-------------------

It is recommended that you UNINSTALL all previous 
versions of Firebird 1.0, Firebird 1.5 or InterBase 
before installing this package.
Funny, I did not see that when I read the installation instructions on SourceForge. More to the point, if Interbase is uninstalled, then so are the GUI tools used to work with Firebird.

At this point, I

I changed a few settings Well, that was a mistake ... the Interbase components (on the Delphi toolbar) require gds32.dll. I fixed this (re-added the dll) by using This may also be required on client machines that run Delphi applications.


Uninstalling Interbase 5

As stated above, Firebird 1.5.x won't install properly unless Interbase is first uninstalled.

However, notice that the uninstall is not complete ... the following 3 files were left (there may be more that I did not find)


Uninstalling Interbase - Interbase 6 and Firebird 1.0

On a configured and working Windows 2000 system, I uninstalled Firebird 1.0 via the Start menu. The final dialog box stated that some elements were not removed ... but they could be removed manually. Unfortunately, those elements were not listed.

Interbase 6 was uninstalled via the Control Panel - a dialog box stated that these files would not be uninstalled

As the uninstall ran, the following errors were displayed (one dialog box for each missing file) It is interesting that the Interbase uninstall was looking for files in the Firebird directory. In addition, the C:\Program Files\InterBase Corp directory was no longer on the system.


Reinstalling Interbase Tools

When Interbase was uninstalled, all the associated tools were also uninstalled. This section restores Windows ISQL - needed to create tables via scripts. BTW, the hard drive has 60.6 GB free, but the installer says that only 713 MB are available - 20 MB required.


Delphi 6 Procedure

It wouldn't be fun if every version of something wasn't different.

With Interbase 6, Windows ISQL is installed as part of IBConsole - a much more useful and easy to use application.


Registry Modifications

Since the supplied Interbase ISQL tools will NOT work with Firebird Dialect 3, I had to use the command line isql.exe application supplied with Firebird. (I tested this with both Interbase versions 5 and 6.) Though they have their place, I really hate command line tools.

Basically, I patched the registry so that

It is real important that double clicking an *.sql file does NOT cause it to be executed - you could loose all your data that way.

Warning: Do not try to add these features via Windows Explorer Tools / Folder Options... - On windows 2000 it made a real mess that required editing the registry to fix it.

I have implemented this enhancement on Windows 2000 and Windows XP. This is an *.reg file that will make the changes - copy it to a new *.reg file and Merge it.

Notes


Author: Robert Clemenzi - clemenzi@cpcug.org
URL: http:// cpcug.org / user / clemenzi / technical / Databases / Firebird / Installation_1-5-1.html