MSI 安装日志说: 注意:1:2205 2:3:错误 [英] MSI installation log says: Note: 1: 2205 2: 3: Error

查看:13
本文介绍了MSI 安装日志说: 注意:1:2205 2:3:错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 WiX 3.8 创建了一个 MSI 安装程序,安装时我在 MSI 日志中收到此错误:

I created an MSI installer with WiX 3.8 and I get this error in the MSI log when installing it:

MSI (s) (A0:60) [19:14:59:510]: Note: 1: 2205 2:  3: Error
MSI (s) (A0:60) [19:14:59:510]: Note: 1: 2262 2: AdminProperties 3: -2147287038 

如何解决此错误?
或者它是一个可以安全忽略的已知 WiX/MSI 问题?

How can I fix this error?
Or maybe is it a known WiX/MSI issue that can be safely ignored?

我的 WiX 脚本非常简单,它只是安装了一个 shell 扩展,所以我不知道这个错误是从哪里来的.

My WiX script is extremely simple, it just installs a shell extension, so I have no idea where this error comes from.

从 GUI 的角度来看,安装完成后没有明显问题.

From the GUI point of view, the installation finishes with no visible problem.

推荐答案

改进了吗?:创建和解释 MSI 日志的不同方法.

<小时>

尝试通过在 msiexec 命令行中添加 ! 字符来启用 flush to log,如下所示:


Try to enable flush to log by adding the ! character to the msiexec command line, like this:

msiexec.exe /i C:PathYour.msi /L*vx! C:Your.log

这将强制将日志文件连续写入(刷新)而不是分批写入.这可确保不会因包崩溃而丢失日志缓冲区.这会使整个安装过程变慢很多,因此请仅在需要时启用它.

This will force the log file to be written to continuously (flushed) instead of in batches. This ensures no log-buffer is lost due to a crashing package. This makes the whole install a lot slower, so only enable it when it is needed.

请参阅 msifaq.com 了解更多详情(记录常见问题条目).搜索 "value 3" 在日志文件中查找错误,如 Rob Mensching(Wix & Orca 作者)所述.

See msifaq.com for more details (logging faq entry). Search for "value 3" in the log file to find errors as explained by Rob Mensching (Wix & Orca author).

需要考虑的其他一些因素:

  • 防病毒软件桌面安全软件是否会阻止文件提取?
  • 系统驱动器上是否有足够的空间?
  • 在磁盘扫描过程中是否发现了任何错误?
  • 您是否尝试过运行管理员安装 在 MSI 上查看文件是否以这种方式正确提取?
  • Could anti-virus software or desktop security software be preventing file extraction?
  • Is there plenty of space on the system drive?
  • Are there any errors found during a disk scan?
  • Have you tried running an admin install on the MSI to see if files extract properly that way?

这篇关于MSI 安装日志说: 注意:1:2205 2:3:错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆