Web setup MSI fails on Windows Server 2008

后端 未结 2 1835
一个人的身影
一个人的身影 2021-02-04 02:57

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.

I get this error

相关标签:
2条回答
  • 2021-02-04 03:20

    Web Setup projects (vdproj) require IIS 6 Management Compatibility to be installed on IIS 7 in order for the installer to work correctly. You only need the Metabase and WMI Compatibility options checked.

    Here's a good link on the topic which describes the problem and how you can update the installer to require these options to be check for installation to continue: http://devio.wordpress.com/2011/04/26/pitfalls-installing-web-setup-msi-on-iis-7/

    0 讨论(0)
  • 2021-02-04 03:27

    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.

    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.

    0 讨论(0)
提交回复
热议问题