| 1 |
Firebird Database Server $MAJOR.$MINOR.$RELEASE |
| 2 |
=============================================== |
| 3 |
|
| 4 |
|
| 5 |
This document is a guide to installing this package of |
| 6 |
Firebird $MAJOR.$MINOR on the Windows platform. These notes refer |
| 7 |
to the installation package itself, rather than |
| 8 |
Firebird $MAJOR.$MINOR in general. In addition, these notes are |
| 9 |
primarily aimed at users of the binary installer. |
| 10 |
|
| 11 |
It is assumed that readers of this document are already |
| 12 |
familiar with Firebird. If you are evaluating Firebird $MAJOR.$MINOR |
| 13 |
as part of a migration from some older Firebird version you are advised |
| 14 |
to review the Firebird $MAJOR.$MINOR documentation to understand |
| 15 |
the changes made between your version and $MAJOR.$MINOR. |
| 16 |
|
| 17 |
|
| 18 |
Contents |
| 19 |
-------- |
| 20 |
|
| 21 |
o Before installation |
| 22 |
o Deployment to older versions of Windows |
| 23 |
o Deployment of gds32.dll |
| 24 |
o Installation of the Guardian |
| 25 |
o Re-installation of Firebird $MAJOR.$MINOR |
| 26 |
o Known installation problems |
| 27 |
o Uninstallation |
| 28 |
o Installation from a batch file |
| 29 |
|
| 30 |
|
| 31 |
Before installation |
| 32 |
------------------- |
| 33 |
|
| 34 |
It is recommended that you UNINSTALL all previous |
| 35 |
versions of Firebird or InterBase before installing |
| 36 |
this package. It is especially important to verify that |
| 37 |
fbclient.dll and gds32.dll are removed from <system32>. |
| 38 |
See the UNINSTALL section below for more info on this. |
| 39 |
|
| 40 |
|
| 41 |
Deployment to older versions of Windows |
| 42 |
--------------------------------------- |
| 43 |
|
| 44 |
The binary installer no longer supports older versions |
| 45 |
of windows. As per the innosetup documentation: |
| 46 |
|
| 47 |
"Change in default behavior: [Setup] section |
| 48 |
directive MinVersion now defaults to 6.1sp1, so by |
| 49 |
default Setup will not run on Windows Vista or on |
| 50 |
versions of Windows 7 and Windows Server 2008 R2 |
| 51 |
which have not been updated." |
| 52 |
|
| 53 |
These earlier versions do not support some of the |
| 54 |
security measures against potential DLL preloading |
| 55 |
attacks so deployment to these is now blocked by the |
| 56 |
installer. |
| 57 |
|
| 58 |
This change _may_ be a problem for users of W2K8 R2. |
| 59 |
In any case Windows Vista and even Windows 7 are now |
| 60 |
deprecated by Microsoft and hopefully no production |
| 61 |
install of W2K8 R2 is unpatched. Users who need to |
| 62 |
deploy to what are now ancient versions of windows are |
| 63 |
advised to manually install Firebird 4.0 with the zip |
| 64 |
package. |
| 65 |
|
| 66 |
|
| 67 |
Installation of the Guardian |
| 68 |
---------------------------- |
| 69 |
|
| 70 |
We are hoping to phase out the Guardian. It doesn't |
| 71 |
work with the Classic server and the binary installer |
| 72 |
does not offer it at install time if Classic is |
| 73 |
chosen. If SuperServer or SuperClassic are chosen |
| 74 |
it is offered but not selected by default. |
| 75 |
|
| 76 |
|
| 77 |
Re-installation of Firebird |
| 78 |
--------------------------- |
| 79 |
|
| 80 |
The binary installer does its best to detect and |
| 81 |
preserve a previous install. If the installer detects |
| 82 |
firebird.conf or security$MAJOR.fdb it will not offer the |
| 83 |
option to set the SYSDBA username and password. |
| 84 |
|
| 85 |
|
| 86 |
Known installation problems |
| 87 |
--------------------------------- |
| 88 |
|
| 89 |
o It is only possible to use the binary installer |
| 90 |
to install the default instance of Firebird $MAJOR.$MINOR. If |
| 91 |
you wish to install additional, named instances you |
| 92 |
should manually install them with the zipped install |
| 93 |
image. |
| 94 |
|
| 95 |
o Unfortunately, the installer cannot reliably detect |
| 96 |
if a previous version of Firebird Classic server |
| 97 |
is running. |
| 98 |
|
| 99 |
o The service installer (instsvc) uses the same |
| 100 |
default instance name for 32-bit and 64-bit |
| 101 |
installations. This is by design. Services exist |
| 102 |
in a single name space. |
| 103 |
|
| 104 |
o Be sure to install as an administrator. ie, if |
| 105 |
using the binary installer right click and choose |
| 106 |
'Run as administrator'. Otherwise the installer |
| 107 |
may be unable to start the Firebird service at |
| 108 |
the end of installation. |
| 109 |
|
| 110 |
o Libraries deployed by instclient may fail to load if |
| 111 |
the MS runtime libraries have not been installed. |
| 112 |
This may be a problem if installing on older Windows |
| 113 |
platforms. |
| 114 |
|
| 115 |
|
| 116 |
Uninstallation |
| 117 |
-------------- |
| 118 |
|
| 119 |
o It is preferred that this package be uninstalled |
| 120 |
correctly using the uninstallation application |
| 121 |
supplied. This can be called from the Control Panel. |
| 122 |
Alternatively it can be uninstalled by running |
| 123 |
unins000.exe directly from the installation |
| 124 |
directory. |
| 125 |
|
| 126 |
o If Firebird is running as an application (instead of |
| 127 |
as a service) it is recommended that you manually |
| 128 |
stop the server before running the uninstaller. This |
| 129 |
is because the uninstaller cannot stop a running |
| 130 |
application. If a server is running during the |
| 131 |
uninstall the uninstall will complete with errors. |
| 132 |
You will have to delete the remnants by hand. |
| 133 |
|
| 134 |
o Uninstallation leaves six files in the install |
| 135 |
directory: |
| 136 |
|
| 137 |
- databases.conf |
| 138 |
- firebird.conf |
| 139 |
- fbtrace.conf |
| 140 |
- replication.conf |
| 141 |
- firebird.log |
| 142 |
- security$MAJOR.fdb |
| 143 |
|
| 144 |
This is intentional. These files are all |
| 145 |
potentially modifiable by users and may be required |
| 146 |
if Firebird is re-installed in the future. They can |
| 147 |
be deleted if no longer required. |
| 148 |
|
| 149 |
o A new feature of the uninstaller is an option to |
| 150 |
run it with the /CLEAN parameter. This will check |
| 151 |
the shared file count of each of the above files. If |
| 152 |
possible it will delete them. |
| 153 |
|
| 154 |
|
| 155 |
Installation from a batch file |
| 156 |
------------------------------ |
| 157 |
|
| 158 |
The setup program can be run from a batch file. |
| 159 |
Please see this document: |
| 160 |
|
| 161 |
installation_scripted.txt |
| 162 |
|
| 163 |
for full details. |
| 164 |
|