如何分析“msiexec.exe /i your.msi /L*vc:\logfile.txt”中的日志文件为了修复错误代码 2869
我有一个版本号为1.0.1的应用程序,它是旧版本1.0.0的升级。
1.0.0 时,我收到错误 2869。
当我尝试安装新版本 1.0.1 时,当我的系统已经安装了旧版本 而不是尝试安装较新的版本,然后就安装成功了。 我突然意识到这个错误是由于自定义操作中的一些异常造成的。因此我执行了以下命令,
msiexec.exe /i my.msi /L*v c:\logfile.txt
我不知道如何分析这个详细的日志文件,以找到解决我的问题的方法。
我应该看看具体是什么,这样我才能摆脱错误代码 2869。 我在WIN 7机器上使用VS2005。
请帮助我。
I have an application with version no: 1.0.1, which is an upgrade to the older version 1.0.0.
When I try to install the new version 1.0.1, when my system already has the older version 1.0.0 installed, I am getting the error 2869.
But if I uninstall the older version manually & than try to install the newer version, then it installs successfuly.
It dawned on me that this error is due to some exception in custom action. And hence I executed the following command
msiexec.exe /i my.msi /L*v c:\logfile.txt
I dont know how to analyze this verbose log file, to find a fix for my problem.
What exact thing should I have a look at, so that I can get rid of that error code 2869.
I am using VS2005 in WIN 7 machine.
Plz help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这些文章会对您有所帮助:
http://technet.microsoft.com/en- us/library/cc535232.aspx
http://blogs.technet.com/b/richard_macdonald/archive/2007/04/02/how-to-interpret-windows-installer-logs.aspx
您还可以将日志发布到某个地方并将其链接到您的帖子中,以便我们查看。
基本上,您应该搜索任何具有“返回值 3”的自定义操作。该自定义操作遇到问题并因错误而停止安装。
请使用同一线程来更新问题,而不是为每个相关问题启动不同的线程。
Perhaps these articles will help you:
http://technet.microsoft.com/en-us/library/cc535232.aspx
http://blogs.technet.com/b/richard_macdonald/archive/2007/04/02/how-to-interpret-windows-installer-logs.aspx
You can also post the log somewhere and link it in your post so we can take a look.
Basically, you should search for any custom action which has "Return Value 3". That custom action encounters a problem and stops the installation with an error.
Please use the same thread for updates on a problem instead of starting a different thread for each related question.