.NET Framework 3.5 installation error

安装某软件时,它提示有对 .NET 3.5 的依赖,因为本地没有安装对应的版本。但 Windows 在自动安装 .NET 3.5 失败了,返回了错误号:0x800F081F。查看了微软文档,对这个错误号的解释是:0x800F081F - CBS_E_SOURCE_MISSING

The source files could not be found.

Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

考虑到手头没有系统安装包,所以没法试验。

这里是找到的另外一个安装方法:

  1. 下载文件:http://download.windowsupdate.com/d/msdownload/update/software/updt/2015/11/microsoft-windows-netfx3-ondemand-package_421a25bf409692045d1cbfab0d99f8def8d95d3f.cab
  2. 将文件复制到系统盘的 Windows 目录下
  3. 以管理员打开命令提示符,运行以下命令

    dism /online /Enable-Feature /FeatureName:NetFx3 /Source:"%windir%" /LimitAccess

  4. OK!

另外,从注册表的 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP 这个路径下,可以查看本地已经安装的 .NET 版本。

Read More: