安装mvc3出错致命错误

给vs2010安装mvc3,出现如下错误提示:

 Installation failed with error code: (0x80070643), "安装时发生严重错误 "。

将vs2010卸载后重装,然后再装vs2010,也出同样错误。

查看安装日志

OS Version = 6.1.7601, Platform 2, Service Pack 1

OS Description = Windows 7 - x64 Ultimate Edition Service Pack 1

CommandLine = e:\temp\ext27692\setup.exe

Using Simultaneous Download and Install mechanism

Operation: Installing

Package Name = Microsoft ASP.NET MVC 3 Tools Update

Package Version = 3.0.20406.0

User Experience Data Collection Policy: Disabled

Number of applicable items: 6

Exe (e:\temp\ext27692\VS10-KB2483190-x86.exe) succeeded.

MSI (e:\temp\ext27692\AspNetWebPages.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetWebPages.msi.txt

MSI (e:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetWebPagesVS2010Tools.msi.txt

MSI (e:\temp\ext27692\AspNetMVC3.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetMVC3.msi.txt

MSI (e:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetMVC3VS2010Tools.msi.txt

MSI (e:\temp\ext27692\NuGet.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_NuGet.msi.txt

MSI (e:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetMVC3VS2010Tools.msi.txt

MSI (e:\temp\ext27692\AspNetMVC3.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetMVC3.msi.txt

MSI (e:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetWebPagesVS2010Tools.msi.txt

MSI (e:\temp\ext27692\AspNetWebPages.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20131231_110555814-MSI_AspNetWebPages.msi.txt

Final Result: Installation failed with error code: (0x80070643), "安装时发生严重错误 " (Elapsed time: 0 00:13:52).

发现是由于安装NuGet.msi时出错,于时将AspNetMVC3ToolsUpdateSetup.exe解压,运行解压后的文件夹中的各安装程序(除NuGet.msi之外)即可。

你可能感兴趣的:(mvc)