永发信息网

visual studio 2010安装.net 4.0时总是失败?

答案:2  悬赏:10  手机版
解决时间 2021-01-27 06:58
  • 提问者网友:缘字诀
  • 2021-01-26 12:43
如题,以前在装上VS2008的时候装过这个ISO安装包,可以安装,并且正常使用,没有出现过问题。可现在单独安装怎么也安装不上了,原因每次都是因为安装.net 4.0失败!

这是错误日志中的部分:

[06/24/10,08:48:31] Microsoft .NET Framework 4: [2] CGenericComponent::Install() expects the setup file for Microsoft .NET Framework 4, but the file failed verification.
[06/24/10,08:48:31] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft .NET Framework 4 is not installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft .NET Framework 4 简体中文语言包 was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Visual F# 2.0 Runtime was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio Macro Tools CHS 语言包 was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates TFS 对象模型(x86) was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Ultimate - CHS was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Web 部署工具(x86) was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 工具 was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 - Visual Studio 2010 工具语言包 - 简体中文 was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft ASP.NET MVC 2 语言包 - 简体中文 was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Silverlight was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Silverlight 3 SDK was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Tools for Office Runtime (x86) was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Office 开发人员工具(x86) was not attempted to be installed.
[06/24/10,08:48:31] VS70pgui: [2] DepCheck indicates Microsoft Office 开发人员工具(x86)语言包 - 简体中文 was not attempted to be installed.

高手帮下忙,小弟感谢了。

谢谢各位的回答...

问题找到了,是因为ISO里德.NET4.0文件受损造成的,然而整个ISO文件却没有受损,我也不清楚到底是怎么回事,之前能够正常安装,并刻了光盘,现在用光盘安装,一切正常,希望对有此问题的朋友有所帮助,当频繁出现,安装.NET4.0时频繁出现错误,导致安装失败,可以考虑是安装文件出问题的后果。
最佳答案
  • 五星知识达人网友:詩光轨車
  • 2021-01-26 13:40
注册表中重复了,因为你装第一次时注册表中就已注册了该软件,你去注册表中把它删了试试.....
在不行就重装系统吧! 我们也经常这样的,呵呵
全部回答
  • 1楼网友:纵马山川剑自提
  • 2021-01-26 14:40
还是所"ISO"全部解压出来再安装,不解压安装可有会失败,必竟几个G的大软件. 另外就是(硬件要求是否合格). 要不先下载Microsoft .NET Framework 3.5 4先安装.
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯