简体   繁体   English

为什么.Net Framework 4.7.2“在这个操作系统上不受支持”? (Windows 10)

[英]Why is .Net Framework 4.7.2 "not supported on this operating system"? (Windows 10)

I was trying to install the .NET 472 developer pack on a Windows 10 machine, and got this error.我试图在 Windows 10 机器上安装 .NET 472 开发人员包,但出现此错误。

在此处输入图片说明

I have been able to install this on other Win10 PCs, and also on Win7.我已经能够在其他 Win10 PC 和 Win7 上安装它。 So it doesn't make any obvious sense why it claims to be "not supported".因此,为什么它声称“不受支持”没有任何明显的意义。

In the log there are some version checks:在日志中有一些版本检查:

Bundle condition evaluated to false:捆绑条件评估为假:

((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR (VersionNT = v6.3) OR ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR (VersionNT = v6.3) OR
(VersionNT = v10.0 AND OSBuildNumber >= 14393) OR (VersionNT > v10.0)) (VersionNT = v10.0 AND OSBuildNumber >= 14393) OR (VersionNT > v10.0))

but that doesn't clearly indicate (to me) what I need to do to resolve the problem.但这并没有清楚地表明(对我来说)我需要做什么来解决这个问题。 Some Windows update is missing, perhaps?也许缺少某些 Windows 更新?

Thanks谢谢


Microsoft has a support page which includes this error, but there is no pertinent resolution: Microsoft 有一个包含此错误的支持页面,但没有相关的解决方案:

The .NET Framework 4.5*.x*/4.6*.x*/4.7*.x* is not supported on this operating system:此操作系统不支持 .NET Framework 4.5*.x*/4.6*.x*/4.7*.x*:

For failed installations of the .NET Framework on Windows 7 ... [all specific to Win7 / nothing for Win10]对于 Windows 7 上的 .NET Framework 安装失败...... [所有特定于 Win7 / Win10 没有任何内容]


FYI the entire log file contains:仅供参考,整个日志文件包含:

[1F70:1E7C][2019-01-09T09:48:04]i001: Burn v3.11.0.1701, Windows v10.0 (Build 10240: Service Pack 0), path: C:\Users\abcdef\AppData\Local\Temp\{D35ACDD2-93C0-4D99-BC39-6A30F2822134}\.cr\NDP472-DevPack-ENU.exe
[1F70:1E7C][2019-01-09T09:48:04]i000: Initializing numeric variable 'IgnorePendingReboot' to value '0'
[1F70:1E7C][2019-01-09T09:48:04]i009: Command Line: '-burn.clean.room=C:\Users\abcdef\Downloads\NDP472-DevPack-ENU.exe -burn.filehandle.attached=420 -burn.filehandle.self=428'
[1F70:1E7C][2019-01-09T09:48:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\abcdef\Downloads\NDP472-DevPack-ENU.exe'
[1F70:1E7C][2019-01-09T09:48:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\abcdef\Downloads\'
[1F70:1E7C][2019-01-09T09:48:08]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\abcdef\AppData\Local\Temp\Microsoft_.NET_Framework_4.7.2_Developer_Pack_20190109094808.log'
[1F70:1E7C][2019-01-09T09:48:08]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET Framework 4.7.2 Developer Pack'
[1F70:1E7C][2019-01-09T09:48:08]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[1F70:1DA0][2019-01-09T09:48:08]i000: Setting version variable 'WixBundleFileVersion' to value '4.7.3081.0'
[1F70:1E7C][2019-01-09T09:48:10]i100: Detect begin, 5 packages
[1F70:1E7C][2019-01-09T09:48:10]i000: Registry key not found. Key = 'SOFTWARE\Policies\WiX\Burn'
[1F70:1E7C][2019-01-09T09:48:10]i052: Condition 'NOT NetFxBurnPackageCacheDirectory' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'NetFxBurnPackageCacheDirectory' to value 'C:\ProgramData\Package Cache'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'netfxfullrefresh_43_CBSValue' to value '1'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'netfxfullrefresh_43_OS_BuildNumber' to value '10240'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'NetFxFullRefresh_InstalledRelease' to value '393295'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'NetFxFullRefresh_InstalledReleaseExists' to value 1
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'OSBuildNumber' to value '10240'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting string variable 'OSInstallationType' to value 'Client'
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'VS2015GenericBootstrapperInstalled' to value 1
[1F70:1E7C][2019-01-09T09:48:10]i000: File search: wfs7886F3974B7A650CE7C1C92244670750, did not find path: C:\ProgramData\Package Cache\NetFxDevpack_FullRefreshISV_4.7.2_461833\packages\dotnetframework\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'NetFxIsvRefreshIsCached' to value 0
[1F70:1E7C][2019-01-09T09:48:10]i000: File search: wfsB2051303457C358B8576A6E6F250B3C4, did not find path: C:\Users\abcdef\Downloads\\packages\dotnetframework\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
[1F70:1E7C][2019-01-09T09:48:10]i000: Setting numeric variable 'NetFxIsvRefreshExists' to value 0
[1F70:1E7C][2019-01-09T09:48:10]i052: Condition 'NetFxIsvRefreshIsCached AND NetFxFullRefresh_InstalledReleaseExists AND NetFxFullRefresh_InstalledRelease >= 461833' evaluates to false.
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfxfullrefreshisv, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfx_472mtpack.msi, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfx_472mtpacklp.msi, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfxsdk, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i101: Detected package: netfx472_bootstrapper2015.msi, state: Absent, cached: None
[1F70:1E7C][2019-01-09T09:48:10]i052: Condition 'CompatibilityMode = 1' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:11]i052: Condition 'RebootPending = 0 OR IgnorePendingReboot = 1' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:11]i052: Condition 'Privileged' evaluates to true.
[1F70:1E7C][2019-01-09T09:48:11]i052: Condition '((VersionNT = v6.1 AND ServicePackLevel >= 1) OR      (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR      (VersionNT = v6.3) OR      (VersionNT = v10.0 AND OSBuildNumber >= 14393) OR      (VersionNT > v10.0))' evaluates to false.
[1F70:1E7C][2019-01-09T09:48:11]e000: Microsoft .NET Framework 4.7.2 Developer Pack is not supported on this Operating System.
[1F70:1E7C][2019-01-09T09:48:11]e000: Error 0x81f40001: Bundle condition evaluated to false: ((VersionNT = v6.1 AND ServicePackLevel >= 1) OR      (VersionNT = v6.2 AND NOT (OSInstallationType = "Client")) OR      (VersionNT = v6.3) OR      (VersionNT = v10.0 AND OSBuildNumber >= 14393) OR      (VersionNT > v10.0))
[1F70:1E7C][2019-01-09T09:48:11]i199: Detect complete, result: 0x0

This issue was apparently because my particular build of Windows 10 was quite old, and genuinely is not supported.这个问题显然是因为我的特定版本的 Windows 10 已经很旧了,并且真正不受支持。

I was not able to 100% confirm this, because running the Windows 10 Updater failed multiple times on this PC (and so I gave up trying it) but several key things indicate this is the case:我无法 100% 确认这一点,因为在这台 PC 上运行Windows 10 更新程序多次失败(因此我放弃了尝试),但有几个关键的事情表明情况确实如此:

Ok, I solved this issue, by starting from a lower version and then step by step updating to a newer version.好的,我解决了这个问题,从较低的版本开始,然后逐步更新到较新的版本。 You can download the latest and previous versions from here .您可以从这里下载最新和以前的版本。

So In my case, I had to first install .NET Framework 4.5.2 then the latter ones and so on and so forth.因此,就我而言,我必须先安装.NET Framework 4.5.2然后安装后者,依此类推。

OS: Windows 8 ( Not 8.1 | PS: I hate windows updates )操作系统:Windows 8(不是 8.1 | PS:我讨厌 Windows 更新

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 .NET Framework 4.7.2 中引用 System.Management.Automation? - How to reference System.Management.Automation in a .NET Framework 4.7.2? Windows 10的.NET Framework - .NET Framework for Windows 10 System.Device - VS2019 for Mac 中的“未找到框架 .Net Framework 4.7.2 的程序集” - System.Device - "Assembly Not Found for framework .Net Framework 4.7.2" in VS2019 for Mac 为什么不支持Windows 10中支持的字体样式? - why not supported font style works in windows 10? 为什么默认情况下未将 Microsoft.NET.Test.Sdk 添加到使用 .NET Framework 4.7.2 的 MSTest 项目中? - Why is Microsoft.NET.Test.Sdk not added by default to an MSTest project using .NET Framework 4.7.2? .NET Framework 4.7.2 已安装但未显示在目标类型中 - .NET Framework 4.7.2 installed but not shown in the target type Microsoft .NET Framework 4已经是此操作系统的一部分。 您不需要安装.NET Framework 4可再发行组件 - Microsoft .NET Framework 4 is already a part of this operating system. You do not need to install the .NET Framework 4 redistributable EnableCors 使用 ApiController 但不使用 Controller .NET 框架 4.7.2 - EnableCors working with ApiController but not with Controller .NET Framework 4.7.2 如何在 Windows 10 中安装 .NET 4 框架 - How to install .NET 4 Framework in Windows 10 在 Windows 10 环境中安装 net framework 4 - installing net framework 4 upon windows 10 environment
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM