Web安装程序MSI在Windows Server 2008上失败 [英] Web setup MSI fails on Windows Server 2008

查看:102
本文介绍了Web安装程序MSI在Windows Server 2008上失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2008中建立了一个Web安装项目,该项目将我的ASP.NET/Silverlight应用安装到IIS中.除了在Windows Server 2008上,该方法在其他任何地方都可以正常工作.

I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app into IIS. This works fine everywhere except on Windows Server 2008.

我在MSI安装程序日志文件中收到此错误消息:

I get this error message in the MSI installer log file:

MSI (c) (C8:D8) [15:02:21:067]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\1\MSIB7DD.tmp, Entrypoint: SetTARGETSITE
MSI (c) (C8!F0) [15:02:21:097]: Creating MSIHANDLE (14) of type 790531 for thread 2288
INFO   : [08/27/2009 15:02:21:097] [SetTARGETSITE                           ]: Custom Action is starting...
INFO   : [08/27/2009 15:02:21:107] [SetTARGETSITE                           ]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR  : [08/27/2009 15:02:21:107] [SetTARGETSITE                           ]: FAILED:  -2147221164
ERROR  : [08/27/2009 15:02:21:127] [SetTARGETSITE                           ]: Custom Action failed with code: '340'
INFO   : [08/27/2009 15:02:21:137] [SetTARGETSITE                           ]: Custom Action completed with return code: '340'
MSI (c) (C8!F0) [15:02:21:137]: Closing MSIHANDLE (14) of type 790531 for thread 2288
MSI (c) (C8:D8) [15:02:21:137]: Closing MSIHANDLE (13) of type 790542 for thread 3040
Action ended 15:02:21: WEBCA_SetTARGETSITE. Return value 3.
MSI (c) (C8:E0) [15:02:21:147]: Doing action: FatalErrorForm

我尝试使用Google搜索各种错误代码,但运气不佳.

I've tried googling the various error codes, but I'm not having much luck.

出什么问题了?

推荐答案

就像评论一样,这可能与COM相关.那会让我相信MSI使用的可能是特定于IIS 6的东西.

Like the comment, it looks like this could be something COM related. That would lead me to believe that the MSI is using something that is probably specific to IIS 6.

确保在Windows 2008中已随IIS 7安装了IIS 6兼容性选项.这应该安装MSI尝试访问的COM组件.

Make sure you have the IIS 6 compatibility options installed with IIS 7 in Windows 2008. That should install the COM components that your MSI is trying to access.

...当然是猜测.祝你好运.

...just a guess of course. Good luck.

这篇关于Web安装程序MSI在Windows Server 2008上失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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