how to install offline dot net 3.5 on windows 8

Let’s learn how to install offline dot net 3.5 Windows 8 and 8.1. windows version which launch after windows 8 comes with .NET framework 4.5 pre-installed, but .Net framework 3.5 is not installed. many apps  require the .NET framework v3.5 installed to run along with 4.5. These apps will not run unless you will install the required version. When you try to run any such app. on Windows 8 and 8.1 will prompt you to download and install .NET framework 3.5 from the Internet. if you have not internet connection, than you can use this Method to install .Net Framework 3.5.

 

To enable this feature in offline mode user should has Windows 8 DVD or ISO image.
 

Method-1

Follow the following instruction to enable .NET Framework 3.5 (include .NET 2.0 and 3.0) feature in offline mode:

Step 1:
Insert Windows 8 DVD or mount ISO image. The source of this feature can be found in folder E:\sources\sxs. (In this case E: the user’s drive letter on which the user has loaded Windows 8 Media.)
 
 
Step 2:
Open CMD.EXE with Administrative Privileges.
Step 3:
 
Run the following command Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess, and hit Enter.

After completing the installation of .NET Framework 3.5 you can see that the feature is enabled.

Method-2

To save your time, I have Share a simple batch file which will save your time and will find the inserted installation media automatically.
 
1. Open Notepad and copy following and paste to notepad after that save that         file as filename.bat.
2. Run the filename.bat as administrator.
@echo off
Title .NET Framework 3.5 Offline Installer
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist “%%I:\\sources\install.wim” set setupdrv=%%I
if defined setupdrv (
echo Found drive %setupdrv%
echo Installing .NET Framework 3.5…
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess
echo.
echo .NET Framework 3.5 should be installed
echo.
) else (
echo No installation media found!
echo Insert DVD or USB flash drive and run this file once again.
echo.
)
pause

Leave a Comment