Issue Details (XML | Word | Printable)

Key: CORE-548
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Paul Reeves
Reporter: prenosil
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird Core

Help on Firebird setup command line switches

Created: 05/Mar/04 12:00 AM   Updated: 20/Aug/16 05:47 PM
Component/s: Installation
Affects Version/s: None
Fix Version/s: 2.1 RC1

SF_ID: 910463
QA Status: Cannot be tested

 Description  « Hide
SFID: 910463#
Submitted By: prenosil

It would be nice if Firebird's official setup program
has the ability to show list of its command line switches.

E.g. when specifying /? switch, list of available switches
would be printed (instead of running setup):

C:\> Firebird- /?

/DIR="<instdir>" - specifies install directory
/NORESTART - do not force reboot after install
/COMPONENTS="ServerComponent,ClientComponent, ..."
/SILENT - ...

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alice F. Bird added a comment - 14/Jun/06 09:40 AM
Date: 2004-03-05 20:48
Sender: prenosil
Logged In: YES

Never used/studied Inno before, but what about something
like this :

function InitializeSetup(): Boolean;
  param: integer;
  help: boolean;
  for param := 0 to ParamCount do
    if ParamStr(param) = '/?' then begin
      help := true;

  if help then begin
    MsgBox('Command line switches:' #13#13
      '/DIR="&lt;instdir&gt;"'#9'- specifies install directory' #13
      '/NORESTART'#9'- do not force reboot after install' #13
      '/COMPONENTS="ServerComponent,Client, ..."' #13
      '/SILENT - ...',
      mbInformation, MB_OK);
      Result := false;

  Result := true;

Alice F. Bird added a comment - 14/Jun/06 09:40 AM
Date: 2004-03-05 19:10
Sender: paul_reeves
Logged In: YES

It would be nice, but the command line install is an artefact of
InnoSetup. You should probably put a feature request in with
The switches are documented in the installation readme,
which is available in all installs except client-only.
The intention of the command-line setup is to allow developers
to prepare an unattended install of Firebird via a control
process (batch file or executable.) Under these circumstances
the install readme ought to be adequate documentation.
What would you suggest as a resolution of this request? I've
marked it as postponed as it wont get fixed unless we switch
from InnoSetup or InnoSetup supports the feature. Some of
the other options (Invalid, Wont fix) seem a little harsh.

Paul Reeves added a comment - 19/Dec/07 08:44 AM
As previously explained, InnoSetup doesn't support this kind of feature 'out of the box'. The original solution proposed (using a message box) suffered from a major problem. The output could not be selected and copied to the clipboard. (This is a major pain with the MsgBox format in general.)

I've finally found the time to implement a solution that does work with the clipboard. It also allows us to display the full documentation for scripting installations.