我尝试使用网络安装平台并手动完成,但两者都不起作用。
我正在尝试首先安装AspNetMVC3ToolsUpdateSetup.exe,但它总是因致命错误而失败
OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7 - x64 Enterprise Edition Service Pack 1
CommandLine = c:\temp\ext27692\setup.exe
TimeZone = Pacific Daylight Time
Initial LCID = 1033
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: AlwaysUploaded
Number of applicable items: 5
MSI (c:\temp\ext27692\AspNetWebPages.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:\temp\ext27692\NuGet.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_NuGet.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetWebPages.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:14:10).
我尝试修复here,但它对我不起作用。
我比你在上面的截图中看到的更进一步,因为它似乎击中了我认为是nuget然后立即回滚。它发生得太快我无法好好看。
我安装了Visual Studios 2010 SP1。
答案 0 :(得分:21)
我如何让我的工作:
AspNetMVC3ToolsUpdateSetup.exe
,让它解压缩文件,但不接受许可条款,然后点击安装C:\temp\ext27692
,在此文件夹中是安装中使用的所有必需安装文件和配置。如果您查看文件夹的内容,您会注意到有一个nuget.msi
安装文件。注意,您计算机上的VS已经有最新版本,因此无需安装。C:\temp\ext27692
的副本,而第1点的执行仍在运行,然后单击取消。这将回滚并删除它创建的内容。C:\temp\ext27692
的副本中,找到文件parameterinfo.xml
并使用文本编辑器将其打开在已打开的parameterinfo.xml
文件中找到以下行并将其删除
<MSI CanonicalTargetName="NuGet"
DownloadSize="756736"
EstimatedInstallTime="849920"
HashValue="74F464AC4E7220775472D5DF08CE7842958BC53FB8B569E0917CEAEEFB82209C"
InstalledProductSize="838144"
Name="NuGet.msi"
ProductCode="{A5630CB0-6D3C-4C93-9A51-03BEB835A982}"
Rollback="true"
SystemDriveSize="100">
<IsPresent>
<Exists>
<MsiProductVersion ProductCode="Self" />
</Exists>
</IsPresent>
<ApplicableIf>
<Or>
<Or>
<Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\vstscore\Version"/>
</LessThanOrEqualTo>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\vstdcore\Version"/>
</LessThanOrEqualTo>
</Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\procore\Version"/>
</LessThanOrEqualTo>
</Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\vns\Servicing\10.0\xcor\Version"/>
</LessThanOrEqualTo>
</Or>
</ApplicableIf>
<ActionTable>
<InstallAction IfPresent="noop" IfAbsent="install" />
<UninstallAction IfPresent="uninstall" IfAbsent="noop" />
<RepairAction IfPresent="repair" IfAbsent="install" />
</ActionTable>
</MSI>
保存parameterinfo.xml
C:\temp\ext27692
副本中,现在找到文件setup.exe
并执行它。 这将安装MVC3,但不安装旧版本的NuGet。
答案 1 :(得分:18)
您可能需要检查以下几个选项:
control panel
是否安装了MVC框架版本
- 卸载Nuget
- 安装MVC
- 安装最新的nuget
注意:除了ASP.NET MVC3之外,如果你有最新版本的MVC(4,5,6),你应该记得按降序卸载它们。
答案 2 :(得分:15)
它对我有用。我没碰到NuGet。
答案 3 :(得分:2)
如果您之前也安装了ASP.NET MVC4,我还必须从控制面板卸载Microsoft ASP.NET网页 - &gt;程序
然后我使用网络平台安装程序安装,这一切都有效!