Web安装程序MSI在Windows Server 2008上失败

Cra*_*rer 20 installer windows-installer windows-server-2008

我在VS2008中构建了一个Web安装项目,它将我的ASP.NET/Silverlight应用程序安装到IIS中.这在除Windows Server 2008之外的任何地方都可以正常工作

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

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
Run Code Online (Sandbox Code Playgroud)

我试过谷歌搜索各种错误代码,但我没有太多运气.

问题是什么?

Jus*_*ner 38

像评论一样,看起来这可能与COM有关.这将使我相信MSI正在使用可能特定于IIS 6的东西.

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

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