0

我正在使用 Chef windows_package 在 Windows 中安装名为 Oxygen 的软件。我希望它在不询问任何用户输入(采用所有默认值)的情况下静默安装,但它会启动 install4j 向导并询问用户输入,例如“请选择您的语言”

这是厨师的食谱

windows_package 'Notepad++ Installer 64-bit x64' do
  source 'http://mirror.oxygenxml.com/InstData/Editor/Windows64/VM/oxygen-64bit.exe'
  installer_type :custom
  options '/S'
end

运行这个配方会启动一个 install4j 窗口来选择语言。我不希望用户输入任何输入,而是应通过厨师食谱提供所有内容并执行安装。

在此处输入图像描述 我在这里的选项中遗漏了什么吗?

4

2 回答 2

0

我们使用windows_package安装了一个带有响应文件的应用程序,如下所示:

windows_package 'theapp' do
  source 'D:\Path\To\Source\Setup.exe'
  options '-s -f1D:\Path\To\Source\theapp.iss' \
              -f2D:\Path\To\Source\theapp.log'
 installer_type :installshield
end

问候

于 2018-05-01T15:23:05.873 回答
0

快速谷歌显示他们不支持/S静默安装选项,而是拥有自己的系统。https://www.oxygenxml.com/doc/versions/18/ug-editor/references/install-installer-command-line-reference.html涵盖了所有细节。

于 2018-04-25T00:04:44.960 回答