简体   繁体   English

.msi Web安装程序安装程序在带有IIS 7的Windows 2008 Server上失败

[英].msi Installer for web setup project fails on windows 2008 server with IIS 7

I am trying to install the web setup project on a Windows 2008 server with IIS 7. However, it dies at the first step with the error "The installer was interrupted before could be installed." 我正在尝试在具有IIS 7的Windows 2008服务器上安装Web安装项目。但是,它首先因错误“安装程序被中断而无法安装”而死。

I tried installing with logging enabled and the log files have an error message like below. 我尝试在启用日志记录的情况下进行安装,并且日志文件显示如下错误消息。


MsiGetPropertyW - Getting Property 'VSDNETMSG'... INFO : [11/29/2009 14:31:45:291] [CheckFX ]: Property 'VSDNETMSG' retrieved with value 'This setup requires the .NET Framework version [1]. MsiGetPropertyW-获取属性'VSDNETMSG'...信息:[11/29/2009 14:31:45:291] [CheckFX]:检索属性'VSDNETMSG',其值为'此设置需要.NET Framework版本[1]。 Please install the .NET Framework and run this setup again.'. 请安装.NET Framework,然后再次运行此安装程序。 MSI (c) (64!8C) [14:31:45:291]: Creating MSIHANDLE (3) of type 790531 for thread 2188 INFO : [11/29/2009 14:31:45:291] [CheckFX ]: MsiSetPropertyW - Setting Property Value... INFO : [11/29/2009 14:31:45:291] [CheckFX ]: MsiSetPropertyW - Setting property 'VSDNETMSG' to 'This setup requires the .NET Framework version 3.5. MSI(c)(64!8C)[14:31:45:291]:为线程2188 INFO创建类型为790531的MSIHANDLE(3):[11/29/2009 14:31:45:291] [CheckFX]: MsiSetPropertyW-设置属性值...信息:[11/29/2009 14:31:45:291] [CheckFX]:MsiSetPropertyW-将属性'VSDNETMSG'设置为'此设置需要.NET Framework 3.5版。 Please install the .NET Framework and run this setup again.'. 请安装.NET Framework,然后再次运行此安装程序。 MSI (c) (64!8C) [14:31:45:291]: PROPERTY CHANGE: Modifying VSDNETMSG property. MSI(c)(64!8C)[14:31:45:291]:属性更改:修改VSDNETMSG属性。 Its current value is 'This setup requires the .NET Framework version [1]. 它的当前值为'此设置需要.NET Framework版本[1]。 Please install the .NET Framework and run this setup again.'. 请安装.NET Framework,然后再次运行此安装程序。 Its new value: 'This setup requires the .NET Framework version 3.5. 它的新值是:“此设置需要.NET Framework 3.5版。 Please install the .NET Framework and run this setup again.'. 请安装.NET Framework,然后再次运行此安装程序。 MSI (c) (64!8C) [14:31:45:291]: Closing MSIHANDLE (3) of type 790531 for thread 2188 INFO : [11/29/2009 14:31:45:291] [CheckFX ]: MsiGetPropertyW - Determine size of property 'VSDNETURLMSG' INFO : [11/29/2009 14:31:45:291] [CheckFX ]: Allocating space... INFO : [11/29/2009 14:31:45:291] [CheckFX ]: MsiGetPropertyW - Getting Property 'VSDNETURLMSG'... INFO : [11/29/2009 14:31:45:291] [CheckFX ]: Property 'VSDNETURLMSG' retrieved with value 'This setup requires the .NET Framework version [1]. MSI(c)(64!8C)[14:31:45:291]:关闭线程2188的790531类型的MSIHANDLE(3)信息:[11/29/2009 14:31:45:291] [CheckFX]: MsiGetPropertyW-确定属性“ VSDNETURLMSG”的大小信息:[11/29/2009 14:31:45:291] [CheckFX]:分配空间...信息:[11/29/2009 14:31:45:291] [CheckFX]:MsiGetPropertyW-获取属性'VSDNETURLMSG'...信息:[11/29/2009 14:31:45:291] [CheckFX]:属性'VSDNETURLMSG'的取值为'此设置需要.NET Framework版本[1]。 Please install the .NET Framework and run this setup again. 请安装.NET Framework,然后再次运行此安装程序。 The .NET Framework can be obtained from the web. 可以从Web获得.NET Framework。 Would you like to do this now?'. 您现在要这样做吗? MSI (c) (64!8C) [14:31:45:291]: Creating MSIHANDLE (4) of type 790531 for thread 2188 INFO : [11/29/2009 14:31:45:291] [CheckFX ]: MsiSetPropertyW - Setting Property Value... INFO : [11/29/2009 14:31:45:291] [CheckFX ]: MsiSetPropertyW - Setting property 'VSDNETURLMSG' to 'This setup requires the .NET Framework version 3.5. MSI(c)(64!8C)[14:31:45:291]:为线程2188 INFO创建类型为790531的MSIHANDLE(4):[11/29/2009 14:31:45:291] [CheckFX]: MsiSetPropertyW-设置属性值...信息:[11/29/2009 14:31:45:291] [CheckFX]:MsiSetPropertyW-将属性“ VSDNETURLMSG”设置为“此设置需要.NET Framework 3.5版。 Please install the .NET Framework and run this setup again. 请安装.NET Framework,然后再次运行此安装程序。 The .NET Framework can be obtained from the web. 可以从Web获得.NET Framework。 Would you like to do this now?'. 您现在要这样做吗? MSI (c) (64!8C) [14:31:45:291]: PROPERTY CHANGE: Modifying VSDNETURLMSG property. MSI(c)(64!8C)[14:31:45:291]:属性更改:修改VSDNETURLMSG属性。 Its current value is 'This setup requires the .NET Framework version [1]. 它的当前值为'此设置需要.NET Framework版本[1]。 Please install the .NET Framework and run this setup again. 请安装.NET Framework,然后再次运行此安装程序。 The .NET Framework can be obtained from the web. 可以从Web获得.NET Framework。 Would you like to do this now?'. 您现在要这样做吗? Its new value: 'This setup requires the .NET Framework version 3.5. 它的新值是:“此设置需要.NET Framework 3.5版。 Please install the .NET Framework and run this setup again. 请安装.NET Framework,然后再次运行此安装程序。 The .NET Framework can be obtained from the web. 可以从Web获得.NET Framework。 Would you like to do this now?'. 您现在要这样做吗? MSI (c) (64!8C) [14:31:45:291]: Closing MSIHANDLE (4) of type 790531 for thread 2188 MSI(c)(64!8C)[14:31:45:291]:针对线程2188关闭790531类型的MSIHANDLE(4)


.NET 3.5 is indeed installed on the machine and the app works when I deploy using XCopy. .NET 3.5实际上已安装在计算机上,并且当我使用XCopy进行部署时,该应用程序可以正常工作。

I have searched the internet for this error and have found that installing the IIS 6 Compatibility resolves the issue. 我在互联网上搜索了此错误,发现安装IIS 6兼容性可以解决此问题。 Though, I don't want to install IIS 6 metabase compatibility. 但是,我不想安装IIS 6元数据库兼容性。 I rebuilt the set up with lauch condition as IIS >=7 and in X64 mode. 我在IIS> = 7和X64模式下重建了条件不佳的设置。 But to no avail. 但无济于事。

Could you please help me on this? 您能帮我吗?

Thanks, Krantz 谢谢,克兰兹

Please consider Web Deployment Tool. 请考虑使用Web部署工具。 That gives you more flexibility to deploy your web applications. 这为您提供了更大的灵活性来部署Web应用程序。

http://www.iis.net/expand/WebDeploymentTool http://www.iis.net/expand/WebDeploymentTool

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM