Firebird静默安装 [英] Firebird silent install

查看:105
本文介绍了Firebird静默安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi please assist as I cannot get the silent installation to work

<pre lang="c#">try
            {
                string installerFilePath = @"C:\BennaOlivier\Randoms\Delter\Firebird\FirebirdMainInstaller\MainInstaller\MainInstaller\Firebird X64\FirebirdInstallX64\Firebird-2.5x64.exe";
                Process installerProcess = new Process();
                installerProcess.StartInfo.CreateNoWindow = true;
                installerProcess.StartInfo.RedirectStandardOutput = true;
                installerProcess = Process.Start(installerFilePath, Arguments);

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

            }





我通过的论点如下





My Arguments that I pass are as follows

private const string Arguments = " /SILENT | /VERYSILENT [/SUPPRESSMSGBOXES]";





但是在进行安装时我仍然会看到窗口并且创建没有窗口默认为false



我尝试过的事情:





However when doing the install I still get the window and the create no window defaults to false

What I have tried:

Hi please assist as I cannot get the silent installation to work

<pre lang="c#">try
            {
                string installerFilePath = @"C:\BennaOlivier\Randoms\Delter\Firebird\FirebirdMainInstaller\MainInstaller\MainInstaller\Firebird X64\FirebirdInstallX64\Firebird-2.5x64.exe";
                Process installerProcess = new Process();
                installerProcess.StartInfo.CreateNoWindow = true;
                installerProcess.StartInfo.RedirectStandardOutput = true;
                installerProcess = Process.Start(installerFilePath, Arguments);

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

            }





我通过的论点如下





My Arguments that I pass are as follows

private const string Arguments = " /SILENT | /VERYSILENT [/SUPPRESSMSGBOXES]";





但是在进行安装时我仍然得到窗口并且create no window默认为false



However when doing the install I still get the window and the create no window defaults to false

推荐答案

在这里查看一下:命令行 - Firebird自定义安装 - 堆栈溢出 [ ^ ]



看起来你错过了命令行参数/ COMPONENTS =以逗号分隔的组件名称列表



例如完整安装:/ COMPONENTS =ServerComponent \SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent



我希望它能帮助







要在特定目录中安装,您可以使用命令行参数 DIR

例如: Firebird-3.0.4.33054_0_Win32.exe / DIR =c:\ Temp\FB



注意:

1.)在传统安装后你会发现两个文件

C:\Program Files(x86) )\ .Firebird \Firebird_3_0 \doc \installation_scripted.txt

C:\Program Files(x86)\ .Firebird\Firebird_3_0 \ docs \installation_readme.txt

特别是installation_scripted.txt包含有用的信息



2.)如果你开始 Firebird-3.0.4.33054_0_Win32.exe /?将显示标准的ino setup命令行参数。
Have a look here for a start: command line - Firebird custom installation - Stack Overflow[^]

It looks you are missing the comand line parameter /COMPONENTS="comma separated list of component names"

E.g. for full installation: /COMPONENTS="ServerComponent\SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent"

I hope it helps



To install in a specific directory you can use command line parameter DIR
E.g: Firebird-3.0.4.33054_0_Win32.exe /DIR="c:\Temp\FB"

Notes:
1.) After a conventional installation you will find the two documents
"C:\Program Files (x86)\Firebird\Firebird_3_0\doc\installation_scripted.txt"
"C:\Program Files (x86)\Firebird\Firebird_3_0\doc\installation_readme.txt"
Especally installation_scripted.txt contains helpfull information

2.) If you start Firebird-3.0.4.33054_0_Win32.exe /? the standard "ino setup" command line parameters will be shown.


尝试:

Try :
private const string Arguments = "/VERYSILENT /SUPPRESSMSGBOXES";

编辑:

阅读:有没有办法静音安装Firebird? [ ^ ]


这篇关于Firebird静默安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆