|
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 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. |
||||||||||||||||||||||||||||||||||||||||||||||||
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;