Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help on Firebird setup command line switches [CORE548] #903

Closed
firebird-issue-importer opened this issue Mar 5, 2004 · 10 comments
Closed

Help on Firebird setup command line switches [CORE548] #903

firebird-issue-importer opened this issue Mar 5, 2004 · 10 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Mar 5, 2004

Submitted by: prenosil (prenosil)

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-1.5.0.4306-Win32.exe /?

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

Commits: bcfd886

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 14, 2006

Commented by: Alice F. Bird (firebirds)

Date: 2004-03-05 20:48
Sender: prenosil
Logged In: YES
user_id=89535

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

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

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

Result := true;
end;

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 14, 2006

Commented by: Alice F. Bird (firebirds)

Date: 2004-03-05 19:10
Sender: paul_reeves
Logged In: YES
user_id=110431

It would be nice, but the command line install is an artefact of
InnoSetup. You should probably put a feature request in with
them.

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

Paul

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 19, 2006

Modified by: Alice F. Bird (firebirds)

description: 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-1.5.0.4306-Win32.exe /?

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

=>

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-1.5.0.4306-Win32.exe /?

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2007

Commented by: @reevespaul

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.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2007

Modified by: @reevespaul

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 RC1 [ 10201 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 19, 2007

Modified by: @dyemanov

issuetype: Bug [ 1 ] => Improvement [ 4 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 28, 2008

Modified by: @pcisar

Workflow: jira [ 10572 ] => Firebird [ 14893 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 18, 2008

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 20, 2016

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants