我试图在Windows10机器上安装.NET 472开发人员包,但得到了这个错误。
我已经能够安装在其他Win10 PC上,也可以在Win7上。因此,它声称“不受支持”是没有任何明显意义的。
在日志中有一些版本检查:
将包条件计算为false: ((VersionNT = v6.1和ServicePackLevel >= 1) OR (VersionNT = v6.2和NOT (OSInstallationType = "Client"))或(VersionNT = v6.3)或 (VersionNT = v10.0和OSBuildNumber >= 14393) OR (VersionNT > v10.0))
但这并不能清楚地说明我需要做些什么来解决这个问题。是不是缺少了一些Windows更新程序?
谢谢
微软有包含此错误的支持页面,但没有相关的解决方案:
此操作系统不支持.NET框架4.5*.x*/4.6*.x*/4.7*.x*: 对于Windows7上的.NET框架安装失败.所有特定于Win7 / nothing用于Win10
FYI整个日志文件包含:
[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
发布于 2019-01-10 20:30:32
这个问题显然是因为我的Windows10的特定版本已经很老了,而且真的不支持.。
我无法100%地确认这一点,因为在这台PC上多次运行Windows 10更新程序失败(因此我放弃了尝试),但有几个关键问题表明情况是这样的:
发布于 2019-02-20 00:37:30
好的,我解决了这个问题,从低版本开始,然后逐步更新到更新版本。您可以从这里下载最新的和以前的版本。
因此,在我的例子中,我必须首先安装.NET Framework 4.5.2
,然后再安装后一个等等。
OS: Windows 8(而不是8.1 \ PS:我讨厌windows更新)
https://stackoverflow.com/questions/54112889
复制相似问题