【发布时间】:2015-07-08 11:38:31
【问题描述】:
我正在创建批处理文件以在 azure worker 启动任务上以静默模式或安静模式在 Windows 8 上安装 GPG 软件 - 不想看到 UI 对话框
如何在命令行中传递安装文件夹或其他参数
我尝试使用下面的行,但它显示 Windows 安装程序弹出窗口
msiexec "c:\gpg4win-2.2.4.exe" /qn
尝试过
"c:\gpg4win-2.2.4.exe"
我正在获取 Windows 安装程序 UI -GPG win 设置 UI
请帮助我如何通过传递所需参数以安静模式运行安装
【问题讨论】:
-
c:\gpg4win-2.2.4.exe /?有用吗? -
您是否考虑过创建一个可移植版本并仅通过 xcopy 部署它? .exe “可能”没有 MSI,您应该查看 gpg4win.org/doc/en/gpg4win-compendium_35.html
-
@Stephan-c:\gpg4win-2.2.4.exe / 这个命令也显示 UI
-
@simon - 我必须做 azure worker 角色不能做 xcopy...
-
更适合 serverfault.com
标签: batch-file azure command windows-installer installation