Custom Firebird Installation
I want to deploy firebird installation and thus launch it from my installer using command line parameters. I have read the Inno Setup documentation but still cannot get it to work.
I just want to install "Superserver" without documentation or at all.
That'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 uninstall / components, it installs the server, but installs other developer stuff that doesn't need clients.
source to share
read installation_scripted.txt file in C: \ Program Files \ Firebird \ Firebird_2_1 \ doc
/ COMPONENTS = "comma separated list of component names"
Select - ServerComponent \ SuperServerComponent, ServerComponent \ ClassicServerComponent, ServerComponent, DevAdminComponent and ClientComponent
Overrides default components Settings. Using this command line
parameter causes the installation to automatically select a custom type. complete installation requires combining components. For example:/ COMPONENTS = "ServerComponent \ SuperServerComponent, ServerComponent, DevAdminComponent, ClientComponent"
will be required for a complete install.
source to share
I am using the following and it works fine, however I need to install to a custom directory and also change the server setting
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";
source to share
The arguments I am passing are as follows, however they are not installed to the specified directory and also restart after installing Firebird.
"/ VERYSILENT / SUPPRESSMSGBOXES / DIR @c: \ program files \ firebird \ / NORESTART ServerComponent \ ClassicServerComponent, ServerComponent, ClientComponent"
source to share