Thursday, June 30, 2016

Installing Dotnet Framework 3.5 offline on Windows 8/8.1

The .NET Framework is an integral part of many applications running on Windows and provides common functionality for those applications to run. The required .NET Framework version might be different for different software and the most required .NET Framework version is 3.5 which comes preinstalled in Windows 7. The .NET Framework 4.5 is included with Windows 8, the .NET Framework 4.5.1 is included with Windows 8.1 and the .NET Framework 4.6 is included with Windows 10.

BUT

Whenever you try to open a program requiring .NET Framework 3.5, you get following message:
An app on your PC needs the following Windows feature: .NET Framework 3.5 (includes .NET 2.0 and 3.0)

You can see .NET Framework 3.5 in "Add or remove Windows Features" in "Programs and Features" in Control Panel. But we end up with nothing.
Now, you dont have internet connectivity or you already have .NET Framework 3.5 with you or you dont want to waste your bandwidth to download.
The funniest thing is that if you try to install offline installer package you already have; we will get the same message.!

So what we have to do

1. First you'll need to copy Windows 8 setup files to your hard disk. If you have Windows 8 setup ISO copied in your system, you can mount it by right-click on it and select "Mount" option or you can extract its content using 7zip/WinRAR
If you have Windows 8 setup disc and don't want to copy its content, its ok. Just insert the disc in your CD/DVD drive so that Windows can access its content.

2. Now open Command Prompt as Administrator and then provide following command:
Dism /online /enable-feature /featurename:NetFx3 /All /Source:X:\sources\sxs /LimitAccess
Here "X:" represents the CD/DVD drive letter in your system which contains Windows 8 setup disc. Replace it with the correct drive letter according to your system.
If you extracted Windows 8 setup files in a directory, replace D:\sources\sxs with the correct path.

3. As soon as you execute the above mentioned command, Windows will start installing .NET Framework 3.5 in your system and it'll not require Internet connection.


It'll take a few minutes and you'll get a message that the operation completed successfully.
4. That's it. Now you have installed .NET Framework 3.5 in Windows 8 without using Internet connection.
































































No comments:

Post a Comment