question

Heizer-0883 avatar image
0 Votes"
Heizer-0883 asked cheong00 edited

Offline installation of .net framework 4.0.030319 runtime on windows server 2016 standard

因项目需要,在windows server 2016 standard离线安装 .net framework 4.0.030319。使用dotNetFx40_Full_x86_x64.exe进行安装,但是安装失败,提示信息为
【1.Microsoft .NET Framework 4已是此操作系统的一部分。不需要安装 .NET Framework 4可在发行组件包】
【2.已在此计算机上安装相同或更高版本的 .NET Framework 4】

NET Framework 4.0.030319 was installed offline in Windows Server 2016 Standard due to the needs of the project. The installation program :dotnetfx40_full_x86_x64.exe, but the installation failed
Prompt information:
[1.Microsoft.NET Framework 4 is already part of the operating system. You do not need to install the.NET Framework 4 to distribute the component package.]
[2.The same or higher version of the.NET Framework 4 has been installed on this computer.]

windows-server-2016dotnet-runtime
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cheong00 avatar image
0 Votes"
cheong00 answered cheong00 edited

The error message is correct: .NET v4 runtime can be installed on Windows Feature selection screen on Win2016. There's no need to install via dotnetfx40_full_x86_x64.exe.

5672.07.PNG

Alternatively you can use this command to install:

Dism /online /Enable-Feature /FeatureName:NetFx4 /All

Also note that the minimum version of .NET v4 runtime you can install on Win2016 is .NET v4.6. Most programs written for .NET v4.X should be able to run fine on it.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello, excuse me:
Version of this program:.net Framework 4.0.030319,Can't install on Windows Server 2016?
Thank you for your answer

0 Votes 0 ·

Yes. It cannot.

Also note that Most programs written for .NET v4.X should be able to run fine on it. after you installed the .NET v4.6 runtime.


0 Votes 0 ·
IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered Heizer-0883 commented

Hi,

.NET Framework 4.6.2 is installed on Windows Server 2016 by default so there's no need to install .Net Framework 4.0.030319.

https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#detect-net-framework-45-and-later-versions

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

First of all, thank you for your answer.
But I need to use this version:.Net Framework 4.0.030319.Is there a way to solve this problem?
83613-snipaste-2021-04-01-16-23-42.png


0 Votes 0 ·