如何找到 SceneBuilder 的静默安装参数?

How do I find the silent install parameters for SceneBuilder?

我想创建一个 Chocolatey package to install Scene Builder,所以我正在寻找一种在命令行中静默安装 Scene Builder 的方法。

我下载了一个安装程序(SceneBuilder-8.4。1.exe)并尝试如下安装。

> SceneBuilder-8.4.1.exe /silent

但是,当我双击安装程序时,它会启动一个类似的安装对话框。

Scene Builder 安装程序是否具有静默安装功能?

您可以尝试找出使用的是哪种安装程序并查找静默安装标志,或者您可以尝试进行实验。 Chocolatey 文档是这样说的

https://chocolatey.org/docs/helpers-install-chocolatey-package#silentargs-string

如果您将 "help" 参数传递给安装程序,它表示一些静默开关和一些文档。

PS> ./SceneBuilder-9.0.1.exe /?

---------------------------
Setup
---------------------------
The Setup program accepts optional command line parameters.



/HELP, /?

Shows this information.

/SP-

Disables the This will install... Do you wish to continue? prompt at the beginning of Setup.

/SILENT, /VERYSILENT

Instructs Setup to be silent or very silent.

/SUPPRESSMSGBOXES

Instructs Setup to suppress message boxes.

/LOG

Causes Setup to create a log file in the user's TEMP directory.

/LOG="filename"

Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file.

/NOCANCEL

Prevents the user from cancelling during the installation process.

/NORESTART

Prevents Setup from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart.

/RESTARTEXITCODE=exit code

Specifies a custom exit code that Setup is to return when the system needs to be restarted.

/CLOSEAPPLICATIONS

Instructs Setup to close applications using files that need to be updated.

/NOCLOSEAPPLICATIONS

Prevents Setup from closing applications using files that need to be updated.

/RESTARTAPPLICATIONS

Instructs Setup to restart applications.

/NORESTARTAPPLICATIONS

Prevents Setup from restarting applications.

/LOADINF="filename"

Instructs Setup to load the settings from the specified file after having checked the command line.

/SAVEINF="filename"

Instructs Setup to save installation settings to the specified file.

/LANG=language

Specifies the internal name of the language to use.

/DIR="x:\dirname"

Overrides the default directory name.

/GROUP="folder name"

Overrides the default folder name.

/NOICONS

Instructs Setup to initially check the Don't create a Start Menu folder check box.

/TYPE=type name

Overrides the default setup type.

/COMPONENTS="comma separated list of component names"

Overrides the default component settings.

/TASKS="comma separated list of task names"

Specifies a list of tasks that should be initially selected.

/MERGETASKS="comma separated list of task names"

Like the /TASKS parameter, except the specified tasks will be merged with the set of tasks that would have otherwise been selected by default.

/PASSWORD=password

Specifies the password to use.



For more detailed information, please visit http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline
---------------------------
OK   
---------------------------

http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline

Universal Silent Switch Finder 说这是 Inno Setup 安装程序并建议一些开关。