2005-02-17 16:04:23 +01:00
|
|
|
|
|
|
|
Setup Command Line Parameters
|
|
|
|
=============================
|
|
|
|
|
2007-09-11 14:21:05 +02:00
|
|
|
Contents
|
2017-08-29 12:18:32 +02:00
|
|
|
o General notes on preparing a scripted install
|
|
|
|
o Quick Summary of Firebird specific options
|
2007-09-11 14:21:05 +02:00
|
|
|
o Parameters specific to Firebird installs
|
|
|
|
o Parameters specific to Firebird uninstalls
|
2017-08-29 12:18:32 +02:00
|
|
|
o Examples
|
|
|
|
|
|
|
|
|
|
|
|
General notes on preparing a scripted install
|
|
|
|
---------------------------------------------
|
|
|
|
|
|
|
|
These notes only document the firebird specific options for a scripted
|
|
|
|
installation. Developers should refer to the full InnoSetup documentation
|
|
|
|
for a description of the other options available for a scripted install.
|
|
|
|
This can be found here:
|
|
|
|
http://www.jrsoftware.org/ishelp/
|
|
|
|
|
|
|
|
It is highly recommended that a scripted install is tested thoroughly
|
|
|
|
before deployment. The easiest way to test is to run the script without
|
|
|
|
the /SILENT parameter. This will present a standard installer with the
|
|
|
|
scripted options preselected.
|
|
|
|
|
|
|
|
NOTE that the /TASKS parameter clears all the default task settings. If
|
|
|
|
you only need to add a task to the defaults then use /MERGETASKS.
|
2005-02-17 16:04:23 +01:00
|
|
|
|
|
|
|
|
2007-12-19 14:34:34 +01:00
|
|
|
Quick summary of available parameters
|
|
|
|
-------------------------------
|
|
|
|
|
2013-07-05 11:40:26 +02:00
|
|
|
Setup parameters specific to the Firebird Installer. They are case insensitive.
|
|
|
|
However, string values passed to the parameters are not.
|
2007-12-19 14:34:34 +01:00
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
HELP
|
2007-12-19 14:34:34 +01:00
|
|
|
/COMPONENTS="comma separated list of component names"
|
|
|
|
/TASKS="comma separated list of task names"
|
|
|
|
/MERGETASKS="comma separated list of task names"
|
2013-07-05 11:40:26 +02:00
|
|
|
/SYSDBAPASSWORD="masterkey"
|
2017-08-29 12:18:32 +02:00
|
|
|
/FORCE
|
2007-12-19 14:34:34 +01:00
|
|
|
|
|
|
|
Setup parameters specific to the Firebird Uninstaller
|
|
|
|
/CLEAN
|
|
|
|
|
2013-07-05 11:40:26 +02:00
|
|
|
For general parameters available to all InnoSetup based installers see the
|
|
|
|
documentation for innosetup. A summary is available via /? or /HELP
|
2005-02-17 16:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
Parameters specific to Firebird installs
|
|
|
|
----------------------------------------
|
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
HELP
|
2007-12-19 14:34:34 +01:00
|
|
|
Invoke this file as a help screen at installation time.
|
2017-08-29 12:18:32 +02:00
|
|
|
Note no / is prefixed !! Because /? and /HELP are now
|
|
|
|
used by innosetup itself to dispaly innosetup specific help.
|
2007-12-19 14:34:34 +01:00
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
|
2005-02-17 16:04:23 +01:00
|
|
|
/COMPONENTS="comma separated list of component names"
|
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
Choose from - ServerComponent,
|
2007-09-11 14:21:05 +02:00
|
|
|
DevAdminComponent and
|
|
|
|
ClientComponent
|
2005-02-17 16:04:23 +01:00
|
|
|
|
|
|
|
Overrides the default components settings. Using this command line
|
|
|
|
parameter causes Setup to automatically select a custom type. A full
|
|
|
|
install requires combining components. For example:
|
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
/COMPONENTS="ClientComponent"
|
2005-02-17 16:04:23 +01:00
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
would be required for a client only install.
|
|
|
|
|
|
|
|
NOTE - If a full server instal is required there is no need to
|
|
|
|
specify /COMPONENTS. All three are chosen by default.
|
|
|
|
|
2005-02-17 16:04:23 +01:00
|
|
|
|
2007-09-11 14:21:05 +02:00
|
|
|
/TASKS="comma separated list of task names"
|
|
|
|
|
|
|
|
Specifies a list of tasks that should be initially selected or
|
|
|
|
deselected. To deselect a task, prefix its name with a "!" character.
|
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
Choose from - UseSuperServerTask
|
|
|
|
UseSuperServerTask\UseGuardianTask (optional)
|
|
|
|
or
|
|
|
|
UseSuperClassicTask
|
|
|
|
UseSuperClassicTask\UseGuardianTask (optional)
|
|
|
|
or
|
|
|
|
UseClassicServerTask
|
|
|
|
|
|
|
|
UseApplicationTask
|
|
|
|
or
|
2007-09-11 14:21:05 +02:00
|
|
|
UseServiceTask
|
2017-08-29 12:18:32 +02:00
|
|
|
|
2007-09-11 14:21:05 +02:00
|
|
|
AutoStartTask
|
|
|
|
CopyFbClientToSysTask
|
|
|
|
CopyFbClientAsGds32Task
|
2017-08-29 12:18:32 +02:00
|
|
|
EnableLegacyClientAuth
|
|
|
|
|
2007-09-11 14:21:05 +02:00
|
|
|
|
|
|
|
Only the specified tasks (and their children) will be selected; the rest
|
|
|
|
will be deselected. Use the /MERGETASKS parameter instead if you want to
|
|
|
|
keep the default set of tasks and only select/deselect some of them.
|
|
|
|
|
|
|
|
By default the following tasks are run:
|
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
UseSuperServerTask,UseServiceTask,AutoStartTask,CopyFbClientToSysTask
|
2007-09-11 14:21:05 +02:00
|
|
|
|
|
|
|
/MERGETASKS="comma separated list of task names"
|
|
|
|
|
|
|
|
Like the /TASKS parameter, except the specified tasks will be merged
|
|
|
|
with the set of tasks that would have otherwise been selected by
|
|
|
|
default.
|
|
|
|
|
|
|
|
If UsePreviousTasks is set to yes, the specified tasks will be
|
|
|
|
selected/deselected after any previous tasks are restored.
|
|
|
|
|
2005-02-17 16:04:23 +01:00
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
/SYSDBAPASSWORD="mypassword"
|
|
|
|
|
|
|
|
If supplied this will override the default SYSDBA password "masterkey".
|
|
|
|
|
|
|
|
NOTE: If an existing Security database is found this parameter will be
|
|
|
|
ignored.
|
|
|
|
|
|
|
|
|
2005-02-17 16:04:23 +01:00
|
|
|
/FORCE
|
|
|
|
|
|
|
|
Tells the installer to ignore its analysis of the existing
|
2013-07-05 11:40:26 +02:00
|
|
|
environment. It will attempt to install and configure Firebird as
|
2005-02-17 16:04:23 +01:00
|
|
|
if no previous version of Firebird or InterBase was installed.
|
|
|
|
|
|
|
|
This can be useful if you have a seriously broken installation that
|
|
|
|
you cannot uninstall. Or it could be another way to aggravate your
|
2013-07-05 11:40:26 +02:00
|
|
|
users by breaking a perfectly good working install of Firebird or InterBase.
|
|
|
|
Its your choice.
|
2005-02-17 16:04:23 +01:00
|
|
|
|
2012-05-29 12:14:03 +02:00
|
|
|
|
2013-07-05 11:40:26 +02:00
|
|
|
|
2007-09-11 14:21:05 +02:00
|
|
|
Parameters specific to Firebird uninstalls
|
|
|
|
------------------------------------------
|
|
|
|
|
|
|
|
/CLEAN
|
|
|
|
|
|
|
|
Uninstallation has always left the following files in place after
|
2012-05-29 12:14:03 +02:00
|
|
|
the uninstallation process has completed:
|
2007-09-11 14:21:05 +02:00
|
|
|
|
|
|
|
firebird.conf
|
2013-04-08 18:28:05 +02:00
|
|
|
databases.conf
|
2007-09-11 14:21:05 +02:00
|
|
|
firebird.log
|
2017-08-29 12:18:32 +02:00
|
|
|
security3.fdb
|
|
|
|
fbtrace.conf
|
2019-01-25 10:09:01 +01:00
|
|
|
replication.conf
|
2007-09-11 14:21:05 +02:00
|
|
|
|
|
|
|
The assumption is that these files will be useful to users
|
|
|
|
re-installing or upgrading Firebird. Starting with Firebird 2.1
|
|
|
|
(using InnoSetup 5 to build the installation package) it is now
|
|
|
|
possible to pass the /clean option to remove these files.
|
|
|
|
|
2017-08-29 12:18:32 +02:00
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
These examples are just for firebird related options. In practice you
|
|
|
|
they will probably be combined with options such as /SILENT, /LOG,
|
|
|
|
/RESTARTEXITCODE etc.
|
|
|
|
|
|
|
|
1/ Full server install of super server architecture
|
|
|
|
o Change SYSDBA password from default masterkey,
|
|
|
|
o deploy gds32 to <SYS>
|
|
|
|
o enable legacy authentication for older clients
|
|
|
|
|
|
|
|
/MERGETASKS="CopyFbClientAsGds32Task,EnableLegacyClientAuth" /SYSDBAPASSWORD="mypassword"
|
|
|
|
|
|
|
|
2/ Deploy Classic Server and keep other default tasks
|
|
|
|
|
|
|
|
/MERGETASKS="UseClassicServerTask"
|
|
|
|
|
|
|
|
3/ Really mess things up by accidentally deselecting the defaults and
|
|
|
|
letting InnoSetup guess:
|
|
|
|
|
|
|
|
/TASKS="CopyFbClientAsGds32Task"
|
|
|
|
|
|
|
|
Be careful when using the /TASKS parameter !
|
|
|
|
|
|
|
|
|
|
|
|
|