我目前正在尝试安装Atmel Studio 6.2 with .NET,安装的Visual Studio Isolated Shell 10.0部分给了我一些麻烦。
当我尝试安装Atmel Studio时,它会尝试安装.NET Framework 4并立即失败并显示生成的日志:
[08/26/14,07:57:20] .NET Framework 4 Multi-Targeting Pack: [2] Error: Installation failed for component .NET Framework 4 Multi-Targeting Pack. MSI returned error code 1612
[08/26/14,07:57:21] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack is not installed.
[08/26/14,07:57:21] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU was not attempted to be installed.
[08/26/14,07:57:21] VS70pgui: [2] DepCheck indicates Microsoft SQL Server System CLR Types was not attempted to be installed.
[08/26/14,07:57:21] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
[08/26/14,07:57:21] VS70pgui: [2] DepCheck indicates Microsoft Help Viewer 1.0 x64 was not attempted to be installed.
[08/26/14,07:57:21] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
[08/26/14,08:01:54] .NET Framework 4 Multi-Targeting Pack: [2] Error: Installation failed for component .NET Framework 4 Multi-Targeting Pack. MSI returned error code 1612
[08/26/14,08:01:55] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack is not installed.
[08/26/14,08:01:55] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU was not attempted to be installed.
[08/26/14,08:01:55] VS70pgui: [2] DepCheck indicates Microsoft SQL Server System CLR Types was not attempted to be installed.
[08/26/14,08:01:55] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
[08/26/14,08:01:55] VS70pgui: [2] DepCheck indicates Microsoft Help Viewer 1.0 x64 was not attempted to be installed.
[08/26/14,08:01:55] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
[08/26/14,08:08:30] .NET Framework 4 Multi-Targeting Pack: [2] Error: Installation failed for component .NET Framework 4 Multi-Targeting Pack. MSI returned error code 1612
[08/26/14,08:08:31] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack is not installed.
[08/26/14,08:08:31] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU was not attempted to be installed.
[08/26/14,08:08:31] VS70pgui: [2] DepCheck indicates Microsoft SQL Server System CLR Types was not attempted to be installed.
[08/26/14,08:08:31] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
[08/26/14,08:08:32] VS70pgui: [2] DepCheck indicates Microsoft Help Viewer 1.0 x64 was not attempted to be installed.
[08/26/14,08:08:32] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
[08/26/14,09:16:38] .NET Framework 4 Multi-Targeting Pack: [2] Error: Installation failed for component .NET Framework 4 Multi-Targeting Pack. MSI returned error code 1612
[08/26/14,09:16:38] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack is not installed.
[08/26/14,09:16:38] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU was not attempted to be installed.
[08/26/14,09:16:38] VS70pgui: [2] DepCheck indicates Microsoft SQL Server System CLR Types was not attempted to be installed.
[08/26/14,09:16:38] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
[08/26/14,09:16:38] VS70pgui: [2] DepCheck indicates Microsoft Help Viewer 1.0 x64 was not attempted to be installed.
[08/26/14,09:16:39] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
[08/26/14,12:42:39] .NET Framework 4 Multi-Targeting Pack: [2] Error: Installation failed for component .NET Framework 4 Multi-Targeting Pack. MSI returned error code 1612
[08/26/14,12:42:39] VS70pgui: [2] DepCheck indicates .NET Framework 4 Multi-Targeting Pack is not installed.
[08/26/14,12:42:39] VS70pgui: [2] DepCheck indicates Microsoft Visual Studio 2010 Shell (Isolated) - ENU was not attempted to be installed.
[08/26/14,12:42:39] VS70pgui: [2] DepCheck indicates Microsoft SQL Server System CLR Types was not attempted to be installed.
[08/26/14,12:42:39] VS70pgui: [2] DepCheck indicates Microsoft SQL Server 2008 R2 Management Objects was not attempted to be installed.
[08/26/14,12:42:39] VS70pgui: [2] DepCheck indicates Microsoft Help Viewer 1.0 x64 was not attempted to be installed.
[08/26/14,12:42:39] VS70pgui: [2] CFinishPage::UpdateFinal(): Could not find the readme.htm in the client directory as expected!
我的第一反应是尝试卸载/重新安装.NET Framework 4.当我尝试卸载它时,收到以下错误:
找不到路径'C:\ Users \ MyUser \ appdata \ local \ temp \ sit31981.tmp \ wcu \ mtpack \ NetFx_DTP.msi'。验证您是否有权访问此位置并重试,或尝试在可从中安装产品的文件夹中找到安装包“NetFx_DTP.msi”Microsoft .NET Framework 4多目标包
我尝试在我的电脑周围搜索,试图找到这个文件而没有运气。我也做了一些研究,试图找到文件'NetFx_DTP.msi'本身也没有运气。
如果有人对如何解决这个问题有任何提示,我们将不胜感激。谢谢!
答案 0 :(得分:3)
对于Windows 10 / Server 2012R2:
Setup\MTPack\netfx_dtp.msi EXTUI=1
您现在应该有一个包含4.0内容的%programfiles(x86)%\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\
文件夹。
参考:https://msdn.microsoft.com/en-us/library/ee225240(v=vs.100).aspx
答案 1 :(得分:1)
This Microsoft Support post 解决了我遇到的问题。 FixIt能够重置损坏的注册表项并使一切恢复正常!