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.
Method-1
Follow the following instruction to enable .NET Framework 3.5 (include .NET 2.0 and 3.0) feature in offline mode:
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
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