我运行了这样的安装:
msiexec /i Module.msi /l*v msilog.log
在生成的日志文件中,我得到了一堆消息,如:
注意:1:2729.这是什么意思?
是否有一个rosetta-stone用于理解msi日志文件中所有这些消息的含义?
编辑:
这是msi日志文件的示例片段:
MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:332]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2729 MSI (c) (D4:8C) [12:16:44:348]: Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (c) (D4:8C) [12:16:44:348]: Machine policy value 'DisableMsi' is 1 MSI (c) (D4:8C) [12:16:44:348]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (c) (D4:8C) [12:16:44:348]: User policy value 'AlwaysInstallElevated' is 0
查看:
How to Interpret Windows Installer Logs
Windows Installer Error Messages
Q107675: ERRDOC: Windows Installer Error 2729
代码2729是“安装引擎未初始化”.
这个问题很少,但我对这个错误代码的最好解读是,msiexec客户端试图启动msiexec服务器端(Windows服务)并且它正在通过循环日志记录表明它还没有运行.经过几次迭代后,它就会继续安装.看一下下面的日志片段,告诉我这是不是你的日志的样子.
MSI (c) (A4:DC) [22:12:14:406]: Package name extracted from package path: 'msse.msi' MSI (c) (A4:DC) [22:12:14:406]: Package to be registered: 'msse.msi' MSI (c) (A4:DC) [22:12:14:406]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:437]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:437]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:437]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2729 MSI (c) (A4:DC) [22:12:14:453]: Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (c) (A4:DC) [22:12:14:453]: TRANSFORMS property is now: MSI (c) (A4:DC) [22:12:14:453]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
PS-(MS)之后的MSI表示日志条目源自客户端.您也可能会发现此实用程序很有用: