| 1 |
|
| 2 |
Setup Command Line Parameters |
| 3 |
============================= |
| 4 |
|
| 5 |
Contents |
| 6 |
o General notes on preparing a scripted install |
| 7 |
o Quick Summary of Firebird specific options |
| 8 |
o Parameters specific to Firebird installs |
| 9 |
o Parameters specific to Firebird uninstalls |
| 10 |
o Examples |
| 11 |
|
| 12 |
|
| 13 |
General notes on preparing a scripted install |
| 14 |
--------------------------------------------- |
| 15 |
|
| 16 |
These notes only document the firebird specific options for a scripted |
| 17 |
installation. Developers should refer to the full InnoSetup documentation |
| 18 |
for a description of the other options available for a scripted install. |
| 19 |
This can be found here: |
| 20 |
|
| 21 |
http://www.jrsoftware.org/ishelp/ |
| 22 |
|
| 23 |
It is highly recommended that a scripted install is tested thoroughly |
| 24 |
before deployment. The easiest way to test is to run the script without |
| 25 |
the /SILENT parameter. This will present a standard installer with the |
| 26 |
scripted options preselected. |
| 27 |
|
| 28 |
NOTE that the /TASKS parameter clears all the default task settings. If |
| 29 |
you only need to add a task to the defaults then use /MERGETASKS. |
| 30 |
|
| 31 |
|
| 32 |
Quick summary of available parameters |
| 33 |
------------------------------- |
| 34 |
|
| 35 |
Setup parameters specific to the Firebird Installer. They are case insensitive. |
| 36 |
However, string values passed to the parameters are not. |
| 37 |
|
| 38 |
HELP |
| 39 |
/COMPONENTS="comma separated list of component names" |
| 40 |
/TASKS="comma separated list of task names" |
| 41 |
/MERGETASKS="comma separated list of task names" |
| 42 |
/SYSDBAPASSWORD="masterkey" |
| 43 |
/FORCE |
| 44 |
|
| 45 |
Setup parameters specific to the Firebird Uninstaller |
| 46 |
/CLEAN |
| 47 |
|
| 48 |
For general parameters available to all InnoSetup based installers see the |
| 49 |
documentation for innosetup. A summary is available via /? or /HELP |
| 50 |
|
| 51 |
|
| 52 |
Parameters specific to Firebird installs |
| 53 |
---------------------------------------- |
| 54 |
|
| 55 |
HELP |
| 56 |
Invoke this file as a help screen at installation time. |
| 57 |
Note no / is prefixed !! Because /? and /HELP are now |
| 58 |
used by innosetup itself to display innosetup specific help. |
| 59 |
|
| 60 |
|
| 61 |
/COMPONENTS="comma separated list of component names" |
| 62 |
|
| 63 |
Choose from - ServerComponent, |
| 64 |
DevAdminComponent and |
| 65 |
ClientComponent |
| 66 |
|
| 67 |
Overrides the default components settings. Using this command line |
| 68 |
parameter causes Setup to automatically select a custom type. A full |
| 69 |
install requires combining components. For example: |
| 70 |
|
| 71 |
/COMPONENTS="ClientComponent" |
| 72 |
|
| 73 |
would be required for a client only install. |
| 74 |
|
| 75 |
NOTE - If a full server install is required there is no need to |
| 76 |
specify /COMPONENTS. All three are chosen by default. |
| 77 |
|
| 78 |
|
| 79 |
/TASKS="comma separated list of task names" |
| 80 |
|
| 81 |
Specifies a list of tasks that should be initially selected or |
| 82 |
deselected. To deselect a task, prefix its name with a "!" character. |
| 83 |
|
| 84 |
Choose from - UseSuperServerTask |
| 85 |
UseSuperServerTask\UseGuardianTask (optional) |
| 86 |
or |
| 87 |
UseSuperClassicTask |
| 88 |
UseSuperClassicTask\UseGuardianTask (optional) |
| 89 |
or |
| 90 |
UseClassicServerTask |
| 91 |
|
| 92 |
UseApplicationTask |
| 93 |
or |
| 94 |
UseServiceTask |
| 95 |
|
| 96 |
AutoStartTask |
| 97 |
CopyFbClientToSysTask |
| 98 |
CopyFbClientAsGds32Task |
| 99 |
|
| 100 |
|
| 101 |
Only the specified tasks (and their children) will be selected; the rest |
| 102 |
will be deselected. Use the /MERGETASKS parameter instead if you want to |
| 103 |
keep the default set of tasks and only select/deselect some of them. |
| 104 |
|
| 105 |
By default the following tasks are run: |
| 106 |
|
| 107 |
UseSuperServerTask,UseServiceTask,AutoStartTask,CopyFbClientToSysTask |
| 108 |
|
| 109 |
|
| 110 |
/MERGETASKS="comma separated list of task names" |
| 111 |
|
| 112 |
Like the /TASKS parameter, except the specified tasks will be merged |
| 113 |
with the set of tasks that would have otherwise been selected by |
| 114 |
default. |
| 115 |
|
| 116 |
If UsePreviousTasks is set to yes, the specified tasks will be |
| 117 |
selected/deselected after any previous tasks are restored. |
| 118 |
|
| 119 |
|
| 120 |
/SYSDBAPASSWORD="mypassword" |
| 121 |
|
| 122 |
If supplied this will override the default SYSDBA password "masterkey". |
| 123 |
|
| 124 |
NOTE: If an existing Security database is found this parameter will be |
| 125 |
ignored. |
| 126 |
|
| 127 |
|
| 128 |
/FORCE |
| 129 |
|
| 130 |
Tells the installer to ignore its analysis of the existing |
| 131 |
environment. It will attempt to install and configure Firebird as |
| 132 |
if no previous version of Firebird or InterBase was installed. |
| 133 |
|
| 134 |
This can be useful if you have a seriously broken installation that |
| 135 |
you cannot uninstall. Or it could be another way to aggravate your |
| 136 |
users by breaking a perfectly good working install of Firebird or InterBase. |
| 137 |
Its your choice. |
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
Parameters specific to Firebird uninstalls |
| 142 |
------------------------------------------ |
| 143 |
|
| 144 |
/CLEAN |
| 145 |
|
| 146 |
Uninstallation has always left the following files in place after |
| 147 |
the uninstallation process has completed: |
| 148 |
|
| 149 |
firebird.conf |
| 150 |
databases.conf |
| 151 |
firebird.log |
| 152 |
security$MAJOR.fdb |
| 153 |
fbtrace.conf |
| 154 |
replication.conf |
| 155 |
|
| 156 |
The assumption is that these files will be useful to users |
| 157 |
re-installing or upgrading Firebird. Starting with Firebird 2.1 |
| 158 |
(using InnoSetup 5 to build the installation package) it is now |
| 159 |
possible to pass the /clean option to remove these files. |
| 160 |
|
| 161 |
|
| 162 |
Examples |
| 163 |
-------- |
| 164 |
These examples are just for firebird related options. In practice you |
| 165 |
they will probably be combined with options such as /SILENT, /LOG, |
| 166 |
/RESTARTEXITCODE etc. |
| 167 |
|
| 168 |
1/ Full server install of super server architecture |
| 169 |
o Change SYSDBA password from default masterkey, |
| 170 |
o deploy gds32 to <SYS> |
| 171 |
|
| 172 |
/MERGETASKS="CopyFbClientAsGds32Task" /SYSDBAPASSWORD="mypassword" |
| 173 |
|
| 174 |
2/ Deploy Classic Server and keep other default tasks |
| 175 |
|
| 176 |
/MERGETASKS="UseClassicServerTask" |
| 177 |
|
| 178 |
3/ Really mess things up by accidentally deselecting the defaults and |
| 179 |
letting InnoSetup guess: |
| 180 |
|
| 181 |
/TASKS="CopyFbClientAsGds32Task" |
| 182 |
|
| 183 |
Be careful when using the /TASKS parameter ! |
| 184 |
|
| 185 |
|
| 186 |
|