首页 > 解决方案 > 以静默模式安装 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 ===

标签: cmdwixinstallationverbose

解决方案


Setup.exe, "Anything" : 评论太长了。Asetup.exe可以是“任何东西”——使用许多不同的工具制作并具有许多不同的技术——并且没有关于如何静默安装它们的一般规则。

现有答案:我可以提供一些链接作为开始,直到我们更多地了解该文件的真正含义:

请浏览这些链接,我想第一个可能是最容易访问的?没有把握。


推荐阅读