cmd - 以静默模式安装 Wix 失败
问题描述
我正在尝试通过 cmd 以静默模式安装 wix.exe,但在日志中出现以下错误。请帮忙找出原因。使用的命令: msiexec /i wix.exe /qn /l*v MyLogFile.txt
=== Verbose logging started: 2/28/2019 22:10:43 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (84:98) [22:10:43:033]: Resetting cached policy values
MSI (c) (84:98) [22:10:43:033]: Machine policy value 'Debug' is 0
MSI (c) (84:98) [22:10:43:033]: ******* RunEngine:
******* Product: wix.exe
******* Action:
******* CommandLine: **********
MSI (c) (84:98) [22:10:43:036]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (84:98) [22:10:43:036]: Grabbed execution mutex.
MSI (c) (84:98) [22:10:43:537]: Cloaking enabled.
MSI (c) (84:98) [22:10:43:537]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (84:98) [22:10:43:545]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (28:48) [22:10:43:589]: Running installation inside multi-package transaction F:\softwares\wix.exe
MSI (s) (28:48) [22:10:43:593]: Grabbed execution mutex.
MSI (s) (28:7C) [22:10:43:601]: Resetting cached policy values
MSI (s) (28:7C) [22:10:43:601]: Machine policy value 'Debug' is 0
MSI (s) (28:7C) [22:10:43:601]: ******* RunEngine:
******* Product: F:\softwares\wix.exe
******* Action:
******* CommandLine: **********
MSI (s) (28:7C) [22:10:43:605]: Note: 1: 2203 2: F:\softwares\wix.exe 3: -2147286960
MSI (s) (28:7C) [22:10:43:605]: MainEngineThread is returning 1620
MSI (s) (28:48) [22:10:43:684]: User policy value 'DisableRollback' is 0
MSI (s) (28:48) [22:10:43:684]: Machine policy value 'DisableRollback' is 0
MSI (s) (28:48) [22:10:43:684]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (28:48) [22:10:43:684]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (28:48) [22:10:43:688]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (28:48) [22:10:43:688]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (84:98) [22:10:43:692]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (84:98) [22:10:43:692]: MainEngineThread is returning 1620
=== Verbose logging stopped: 2/28/2019 22:10:43 ===
解决方案
Setup.exe, "Anything" : 评论太长了。Asetup.exe
可以是“任何东西”——使用许多不同的工具制作并具有许多不同的技术——并且没有关于如何静默安装它们的一般规则。
现有答案:我可以提供一些链接作为开始,直到我们更多地了解该文件的真正含义:
请浏览这些链接,我想第一个可能是最容易访问的?没有把握。
推荐阅读
- javascript - 在 JavaScript 中对字符串数组进行排序
- quantmod - get.symbols 正在返回“缺少参数 conn,没有默认值”?
- json - ReactJS 从 Grails 获取 JSON
- python-3.x - 错误:访问 python 的路径不存在 - 使用 virtualenvwrapper for Windows 创建新的虚拟环境不起作用
- javascript - Nightwatch.js - 元素存在但不可见
- rust - 返回一个 &Vec
来自 VecDeque 场地 - c# - 通过单击 Winforms 中动态生成的按钮删除 MySql 数据库中的记录
- python - Python Selenium 项目 - 从列表创建表
- mysql - 如何在 MySQL 5.7 中进行相当于横向连接的操作?
- c# - 当 MyMap.Children.Count = 1237 时,WPF VisualTreeHelper.GetChildrenCount(MyMap) 返回 1(边框)