MVC 4 安装失败



我正在尝试将MVC 4安装到我的桌面上。 我是办公室里唯一一个遇到这个问题的人,即使我们都有相同的机器和相同的软件。 我不确定问题是什么。 安装会打印一个日志文件,但我不知道它是什么意思。 如果有人有答案,我将不胜感激。 以下是日志文件:

DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9810537
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9810537 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Expires: Fri, 17 Aug 2012 17:13:22 GMT
Location: https://www.microsoft.com/web/webpi/4.0/webproductlist.xml
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=c6f89ed006465f41bf8ce6e310c073fb&HASH=d09e&LV=20128&V=3;    domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 17 Aug 2012 17:14:22 GMT

DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/webproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Accept-Ranges: bytes
ETag: "d77eb3a9227bcd1:0"
Server: Microsoft-IIS/7.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Fri, 17 Aug 2012 17:14:21 GMT

DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:Usersppprog6202AppDataLocalMicrosoftWeb Platform Installer-477760839.xml.temp
DownloadManager Warning: 0 : Could not resolve keyword ID Sharepoint
DownloadManager Warning: 0 : Could not resolve keyword ID Office
DownloadManager Warning: 0 : Could not resolve keyword ID Sharepoint
DownloadManager Warning: 0 : Could not resolve keyword ID Office
DownloadManager Warning: 0 : Could not resolve keyword ID SQL
DownloadManager Warning: 0 : Could not resolve keyword ID SQL
DownloadManager Warning: 0 : Could not resolve keyword ID WIF
DownloadManager Warning: 0 : Could not resolve keyword ID identity
DownloadManager Warning: 0 : Could not resolve keyword ID federation
DownloadManager Warning: 0 : Could not resolve keyword ID claims
DownloadManager Warning: 0 : Could not resolve keyword ID authentication
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/webapplicationlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/webapplicationlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Cache-Control: max-age=900
Accept-Ranges: bytes
ETag: "43da3ca8137bcd1:0"
Server: Microsoft-IIS/7.5
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
X-Powered-By: ARR/2.5
X-Powered-By: ASP.NET
Date: Fri, 17 Aug 2012 17:14:22 GMT

DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:Usersppprog6202AppDataLocalMicrosoftWeb Platform Installer251486345.xml.temp
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready
DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight
DownloadManager Warning: 0 : Could not resolve keyword ID Katalready
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/mediaproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/mediaproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Date: Fri, 17 Aug 2012 17:14:22 GMT
Etag: "1b51c01e6f4ecd1:0"
Cache-Control: max-age=900

DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:Usersppprog6202AppDataLocalMicrosoftWeb Platform Installer598799360.xml.temp
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/toolsproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/toolsproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Date: Fri, 17 Aug 2012 17:14:22 GMT
Etag: "4e6536ff8276cd1:0"
Cache-Control: max-age=900

DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:Usersppprog6202AppDataLocalMicrosoftWeb Platform Installer672503665.xml.temp
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/enterpriseproductlist.xml
DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/enterpriseproductlist.xml responded with 304
DownloadManager Information: 0 : Response headers:
HTTP/1.1 304 Not Modified
Date: Fri, 17 Aug 2012 17:14:22 GMT
Etag: "a68a64382f88cc1:0"
Cache-Control: max-age=900

DownloadManager Information: 0 : Remote file has not changed, using local cached file: C:Usersppprog6202AppDataLocalMicrosoftWeb Platform Installer1505006577.xml.temp
DownloadManager Information: 0 : Filtering by majorOS: 6, minorOS: 1, majorSP: 1, minorSP: 0, productType: 6, architecture: x64
DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395
DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 203
Content-Type: text/html; charset=utf-8
Expires: Fri, 17 Aug 2012 17:13:24 GMT
Location: http://www.microsoft.com/web/handlers /WebPI.ashx?command=getatomfeedwithavgratingquery
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
Set-Cookie: MC1=GUID=5dcd22f7d0af19428d827c6bc0604293&HASH=f722&LV=20128&V=3; domain=microsoft.com; expires=Sun, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 17 Aug 2012 17:14:24 GMT

DownloadManager Information: 0 : Contextual entry products: MVC4VS2010
DownloadManager Information: 0 : Adding product ASP.NET MVC 4 (VS 2010) (MVC4VS2010) to cart
DownloadManager Information: 0 : Contextual navigation to product 'MVC4VS2010'
DownloadManager Information: 0 : Ratings file loaded successfully
DownloadManager Information: 0 : Adding product 'MVC4VS2010'
DownloadManager Information: 0 : Adding dependency product 'MVC4VS2010_Only
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Downloading file 'http://download.microsoft.com/download/2/F/6/2F63CCD8-9288-4CC8-B58C-81D109F8F5A3/AspNetMVC4Setup.exe' to: C:Usersppprog6202AppDataLocalTemptmp6948.tmp
DownloadManager Information: 0 : Content-disposition header: attachment
DownloadManager Information: 0 : File 'C:Usersppprog6202AppDataLocalMicrosoftWeb Platform InstallerinstallersMVC4VS2010_OnlyF46B534A9D488ABEC38EFB67571F52B4A6FC43E3AspNetMVC4Setup.exe' already exists, deleting old copy of the file
DownloadManager Information: 0 : Moving downloaded file 'C:Usersppprog6202AppDataLocalTemptmp6948.tmp' to: C:Usersppprog6202AppDataLocalMicrosoftWeb Platform InstallerinstallersMVC4VS2010_OnlyF46B534A9D488ABEC38EFB67571F52B4A6FC43E3AspNetMVC4Setup.exe
DownloadManager Information: 0 : Starting EXE command for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale'. Commandline is: 'C:Usersppprog6202AppDataLocalMicrosoftWeb Platform InstallerinstallersMVC4VS2010_OnlyF46B534A9D488ABEC38EFB67571F52B4A6FC43E3AspNetMVC4Setup.exe /q /log C:UsersPPPROG~1AppDataLocalTempMVC4VS2010_Only_install.htm'. Process Id: 3676
DownloadManager Information: 0 : Install exit code for product 'ASP.NET MVC 4  Installer (VS 2010)- Default Locale' is -2147023254
DownloadManager Error: 0 : Install return code for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale' is Failure
DownloadManager Warning: 0 : Dependency failed for product 'ASP.NET MVC 4 (VS 2010)'. Skipping install
DownloadManager Information: 0 : Product ASP.NET MVC 4 Installer (VS 2010)- Default Locale done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Product ASP.NET MVC 4 (VS 2010) had a dependency fail. Increasing install product to 3

WebPI 有时会很糟糕(对我来说总是如此)。

我建议您自己下载并安装MSI:

  • ASP.NET MVC 4 for Visual Studio 2010 SP1 和 Visual Web Developer 2010 SP1

不过,请确保您之前已安装 VS2010 的 SP1。

在等待步骤 10 多分钟完成第 2 步后,我决定进行谷歌搜索。对于"asp.net mvc 4安装程序",谷歌建议"asp.net mvc 4安装程序挂起"。当我阅读此线程时,安装程序继续执行步骤 3。所以我建议等待大约半个小时。

我遇到了这个问题。

Webpi似乎卡住了,所以我取消了它。我尝试直接运行安装程序:http://download.microsoft.com/download/2/F/6/2F63CCD8-9288-4CC8-B58C-81D109F8F5A3/AspNetMVC4Setup.exe

我收到一个错误:

Install completed (Failure): 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale'
MVC4VS2010_Only : Failed.
DependencyFailed: ASP.NET MVC 4 Language Packs Installer
DependencyFailed: ASP.NET MVC 4 with Language Packs (August 2012)
Verifying successful installation...
ASP.NET MVC 4 Installer (VS 2010)- Default Locale  False
ASP.NET MVC 4 Language Packs Installer             False
ASP.NET MVC 4 with Language Packs (August 2012)    False
Install of Products: FAILURE

所以我决定手动运行安装程序:

http://www.microsoft.com/en-us/download/details.aspx?id=3556

并得到此错误:

0x80070652 - Another installation is already in progress. Complete that installation before proceeding with this install. 

虽然有一个指向日志文件的链接,但我无法打开它。

查看进程资源管理器(系统内部),我可以看到正在安装此更新:http://www.microsoft.com/en-us/download/details.aspx?id=3556

所以我希望安装后我将能够再次运行安装程序。会让大家知道。

最新更新