zz1433
zz1433

Reputation: 3586

Firebird custom installation

I want to deploy a firebird installation, and thus will launch it from my installer using command-line parameters. I read Inno Setup's documentation but still can't get it to work.

I just want to install a "Super server" with no documentation or whatsoever.

Here's what I have so far

Firebird-2.1.2.18118_0_Win32.exe /sp- /silent /SUPPRESSMSGBOXES /nocancel /noicons /components="Super Server binary"

But it won't install the server. If I remove the /components it does install the server but install other developer stuff, which customers don't need.

Upvotes: 2

Views: 7429

Answers (2)

Benna Olivier
Benna Olivier

Reputation: 1

I use the following and it works fine, however I need to install to a custom directory and also change the server option

string installerFilePath = @"C:\BennaOlivier\Randoms\Delter\Firebird\FirebirdMainInstaller\MainInstaller\MainInstaller\Firebird X64\FirebirdInstallX64\Firebird-2.5x64.exe";
            Process installerProcess = new Process();

            installerProcess = Process.Start(installerFilePath, Arguments);

            while (installerProcess.HasExited == false)
            {
                //indicate progress to user 
                Application.DoEvents();
                System.Threading.Thread.Sleep(250);
            }

        }
        catch (Exception FBX64)
        {
            MessageBox.Show(FBX64.Message);
            throw;
        }public const string comps = @"ServerComponent\ClassicServerComponent,ServerComponent,ClientComponent";

    public const string Arguments = "/VERYSILENT /SUPPRESSMSGBOXES";

Upvotes: 0

Hugues Van Landeghem
Hugues Van Landeghem

Reputation: 6808

read installation_scripted.txt in C:\Program Files\Firebird\Firebird_2_1\doc

/COMPONENTS="comma separated list of component names"

Choose from - ServerComponent\SuperServerComponent, ServerComponent\ClassicServerComponent, ServerComponent, DevAdminComponent and ClientComponent

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:

/COMPONENTS="ServerComponent\SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent"

would be required for a full install.

Upvotes: 4

Related Questions