简体   繁体   English

使用Microsoft说明在Windows 10上安装.Net Framework 3.5

[英]Install .Net Framework 3.5 on Windows 10 using Microsoft Instructions

I am trying to install .Net Framework 3.5 on Windows 10 using the Microsoft's instructions. 我正在尝试按照Microsoft的说明在Windows 10上安装.Net Framework 3.5。

I downloaded dotnetfx35.exe 我下载了dotnetfx35.exe

And when it runs I get this error: 当它运行时,我得到这个错误:

在此处输入图片说明

So I click on the Tell me how to solve this problem link and I get this instruction: 因此,我单击“ Tell me how to solve this problem链接,并得到以下指示:

在此处输入图片说明

Could someone please make those instructions a bit more clear? 有人可以使这些说明更清楚些吗?

An iso of what? 什么的iso?

How do i mount an iso? 如何安装ISO?

Where am I going to see "Alternate source file path"? 我在哪里可以看到“备用源文件路径”?

Do I run gpupdate /force from a cmd prompt? 我是否从cmd提示符下运行gpupdate /force

Do I need that cmd prompt to be started as administrator? 我是否需要以管理员身份启动该cmd提示?

This is a windows 10 machine and I only have remote access to it. 这是Windows 10机器,我只能对其进行远程访问。 I can not be physically by the computer. 我无法物理上被计算机使用。

This question is different than the other questions because: 该问题与其他问题不同,因为:

  1. I included a screenshots of the errors I am getting. 我提供了我遇到的错误的屏幕截图。
  2. I am asking how to install using Microsoft's instructions, not just any instructions. 我在问如何使用Microsoft的说明进行安装,而不仅仅是任何说明。
  3. I have a specific error number that I encountered. 我有一个遇到的特定错误号。

The offline installer doesn't work for Windows 8 and up. 离线安装程序不适用于Windows 8及更高版本。 You need to enable the Windows feature. 您需要启用Windows功能。 Hit the Windows key and type "Turn Windows features on or off". 按下Windows键,然后输入“打开或关闭Windows功能”。 Check off the .NET Framework 3.5 . 选中.NET Framework 3.5 This will download the necessary bits and install the framework on your machine. 这将下载必要的位并将该框架安装在您的计算机上。 Take a look at the Install the .NET Framework 3.5 on Windows 10, Windows 8.1, and Windows 8 for more details. 有关更多详细信息,请查看在Windows 10,Windows 8.1和Windows 8上安装.NET Framework 3.5

If you continue to get the above error, you are missing the side-by-side (SxS) install files. 如果继续出现上述错误,则说明您缺少并行(SxS)安装文件。 To fix this, you need to create an ISO of the Windows 10 installation media. 要解决此问题,您需要创建Windows 10安装媒体的ISO。 To do this, read Create installation media for Windows . 为此,请阅读“ 为Windows安装媒体”

Once there, you mount that ISO in Windows 10 by either double clicking it or right clicking on it and selection Mount . 到那里后,您可以通过双击或右键单击该ISO在Windows 10中将该ISO挂载,然后选择“ Mount

Next, you will need enable the group policy setting that allows you to point your the alternate sources for SxS install files to the ISO you just mounted. 接下来,您将需要启用组策略设置,该设置允许您将SxS安装文件的备用源指向刚安装的ISO。 You will need to read the article .NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F0907 and follow the directions for Windows 8 (the group policy object is the same for Windows 8, 8.1 and 10). 您将需要阅读文章.NET Framework 3.5安装错误:0x800F0906、0x800F081F,0x800F0907,并按照Windows 8的说明进行操作(组策略对象与Windows 8、8.1和10相同)。

Now you should be able to turn the Windows feature on without an issue. 现在您应该可以打开Windows功能,而不会出现问题。 There are few reasons that cause this issue, but the most common is an issue trying download the files from Windows Update. 导致此问题的原因很少,但最常见的是尝试从Windows Update下载文件的问题。 If you are in an environment that runs WSUS, the administrator my not have approved .NET Framework 3.5 which preventing the download. 如果您在运行WSUS的环境中,则管理员尚未批准阻止下载的.NET Framework 3.5。

Looks like Microsoft is suggesting you use an ISO of the Windows installation disk to install .NET from it. 看起来Microsoft建议您使用Windows安装磁盘的ISO从中安装.NET。 Which you obviously won't be doing remotely, it probably wouldn't help anyway. 您显然不会远程执行此操作,无论如何它可能无济于事。

A quick search on Google about it revealed this page: 在Google上对其进行的快速搜索显示了以下页面:

https://winaero.com/blog/offline-install-of-net-framework-3-5-in-windows-10-using-dism/ https://winaero.com/blog/offline-install-of-net-framework-3-5-in-windows-10-using-dism/

Mount the Current installed ISO(Windows-RS1,RS2,RS3,Rs5..etc) Image in the Virtual Disk after that user can run the Command below 该用户可以运行以下命令后,将当前已安装的ISO(Windows-RS1,RS2,RS3,Rs5..etc)映像挂载到虚拟磁盘中

dism.exe /online /enable-feature /featurename:NetFX3 /Source:D:\\sources\\sxs /LimitAccess dism.exe / online /启用功能/功能名称:NetFX3 /源:D:\\ sources \\ sxs / LimitAccess

enter image description here 在此处输入图片说明

Command Execute-- enter image description here 命令执行- 在此处输入图像描述

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM