我正在使用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窗口以选择语言。我不希望用户输入任何输入,而是一切都应该通过厨师食谱和执行安装提供。

我是否在选项中遗漏了什么?
发布于 2018-04-25 08:04:45
快速谷歌显示,他们不支持静默安装的/S选项,而是有自己的系统。https://www.oxygenxml.com/doc/versions/18/ug-editor/references/install-installer-command-line-reference.html涵盖了所有细节。
发布于 2018-05-01 23:23:06
我们已经使用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问候
https://stackoverflow.com/questions/50011844
复制相似问题