redistributable offline .NET Framework 3.5 install

2019-03-09 10:39发布

Our company was testing our product (compiled for .NET Framework 3.5) on Windows 8. We have discovered that there is no .NET Framework 3.5 on Windows 8 and there are two possibilities to resolve this issue:

  1. online installation

  2. install from Windows 8 installation DVD or ISO

But, we need to have redistributable offline installer for everyone without internet and without Windows installation DVD.

Is there a way how to resolve this issue?

Thanks.

UPDATE:

This should apply to Windows 10 as well.

4条回答
兄弟一词,经得起流年.
2楼-- · 2019-03-09 11:10

Looks like you need the package from the installation media if you're you're offline (located at D:\sources\sxs) You could copy this to each machine that you require .NET 3.5 on (so technically you only need the installation media once to get the package) and get each machine to run the command:

Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\dotnet35 /LimitAccess

There's a guide on MSDN.

查看更多
Anthone
3楼-- · 2019-03-09 11:11

You don't have to copy everything to C:\dotnet35. Usually all the files are already copied to the folder C:\Windows\WinSxS. Then the command becomes (assuming Windows was installed to C:): "Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:C:\Windows\WinSxS /LimitAccess" If not you can also point the command to the DVD directly. Then the command becomes (assuming DVD is mounted to D:): "Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess".

查看更多
我只想做你的唯一
4楼-- · 2019-03-09 11:20

Try this command:

Dism.exe /online /enable-feature /featurename:NetFX3 /Source:I:\Sources\sxs /LimitAccess

I: partition of your Windows DVD.

查看更多
地球回转人心会变
5楼-- · 2019-03-09 11:20

After several month without real solution for this problem, I suppose that the best solution is to upgrade the application to .NET framework 4.0, which is supported by Windows 8, Windows 10 and Windows 2012 Server by default and it is still available as offline installation for Windows XP.

查看更多
登录 后发表回答