Install dotnet3.5 offline in windows 8

dotnet

Actually Windows 8 contains Dot net framework 4, But for applications developed in Dot Net 3.5 require framework of same version to run. And  whenever you try to install such application you get this prompt asking to install this feature but this can only be done if you have a working high speed internet connection.

10install dotnet 3.5

because it consumes so much time since the size update is about 270Mb. and its not possible for everyone to have high speed internet to do this online. For those who have high speed internet connection can do it online but for those who don’t have internet connection or has a slow internet connection its impossible to install it online.

How to install this feature offline ?

Scenario 1:

User Does not have internet Connection but has the windows 8  installation DVD handy

Requirements

  1. Windows 8 installation DVD
  2. Local Administrator account

In this method we will use Deployment Image Servicing and Management (DISM) tool which is a command line tool available in windows 8. and a windows installation DVD from where we will take the required files needed for offline installation of .net framework 3.5

So lets start,

First insert the installation DVD into DVD drive of your system, wait for the system to read the installation media, if any autoplay menu occurs on the screen then simply close it.
now open command prompt with administrative privilege.  to open command prompt with administrative privilege right click on the bottom left corner of the screen and select ‘command prompt (admin)’ from the menu.

0311

Now  all you need  to do is to execute the following command on command prompt

DISM  /Online  /Enable-Feature  /FeatureName:NetFx3   /All  /LimitAccess  /Source:G:\sources\sxs

Explanation:

  • DISM (Deployment Image Servicing and Management ) is a command-line tool that can be used to service a Windows image or to prepare a Windows Preinstallation Environment (Windows PE) image. It replaces Package Manager (Pkgmgr.exe), PEimg, and Intlcfg that were included in Windows Vista. The functionality that was included in these tools is now consolidated in one tool (DISM.exe), and new functionality has been added to improve the experience for offline servicing.
  • /Online targets the current operating system you’re running (instead of an offline Windows image).
  • /Enable-Feature  /FeatureName:NetFx3 specifies that you want to enable the .NET Framework 3.5.
  • /All enables all parent features of the .NET Framework 3.5.
  • /LimitAccess prevents DISM from contacting Windows Update.
  • /Source specifies the location of the files needed to install the feature.  (like in above example G:\ is the Drive letter of my DVD drive and \source\sxs is the location of the file on DVD required to install  .NET Framework 3.5.)09

on the command prompt window type cd  \ and hit enter

then at C:\ prompt type the command

Dism.exe  /Online  /Enable-Feature  /FeatureName:NetFx3   /All  /LimitAccess  /Source:G:\sources\sxs   and hit enter05

Note: Change the G :\ with the drive letter of your DVD

This will take about 3-5 min to complete the installation.

 07

After Completing installation confirm installation  by opening

Control panel >> program and features

Click on Turn windows feature on or off

here check if  .NET Framework 3.5 (includes .NET 2.0 and 3.0)  is marked or not

08

 

Scenario 2:

User tries to install online but installation fails due to slow connection or frequent disconnection of internet. User don’t have Windows 8 installation DVD either to install it offline.

Requirement

  1. Internet connection
  2. Local Administrator account
  3. Installation file

Since user cannot Install .net framework 3.5 online due to slow or interrupting internet connection also user does not have the windows installation DVD.  user need to download the installation file from the internet in order to install dotnet framework 3.5

Now here question arises if the file size is 270 MB (approx) then how could you download it using slow internet connection.  Well to overcome this issue i have compressed the installation file and reduced its size  from 276 MB to 57 MB. all you need to do is to download this file using good download manager  so that even if internet connection fails you can resume the file download from the same place where it was left.

To download Installation file either click on the button Below or copy the direct link and paste it on your browsers address bar

File size: 57 MB

File name: Dotnet_Framework3-5

Direct link: “https://docs.google.com/uc?id=0B34QRPHgdIzdZV9IVFFxOGxRUlk&export=download

after download is complete. double click on Dotnet_Framework3-5.exe, this will extract the installation file to C:\  by default.

now open command prompt with administrative privilege.  to open command prompt with administrative privilege right click on the bottom left corner of the screen and select ‘command prompt (admin)’ from the menu.

0311

Now  all you need  to do is to execute the following command on command prompt

DISM  /Online  /Enable-Feature  /FeatureName:NetFx3   /All  /LimitAccess  /Source:C:\sxs

Explanation:

  • DISM (Deployment Image Servicing and Management ) is a command-line tool that can be used to service a Windows image or to prepare a Windows Preinstallation Environment (Windows PE) image. It replaces Package Manager (Pkgmgr.exe), PEimg, and Intlcfg that were included in Windows Vista. The functionality that was included in these tools is now consolidated in one tool (DISM.exe), and new functionality has been added to improve the experience for offline servicing.
  • /Online targets the current operating system you’re running (instead of an offline Windows image).
  • /Enable-Feature  /FeatureName:NetFx3 specifies that you want to enable the .NET Framework 3.5.
  • /All enables all parent features of the .NET Framework 3.5.
  • /LimitAccess prevents DISM from contacting Windows Update.
  • /Source specifies the location of the files needed to install the feature.  (like in above example C:\sxs  is the location of the  file  required to install  .NET Framework 3.5.)

on the command prompt window type cd  \ and hit enter

then at C:\ prompt type the command

Dism.exe  /Online  /Enable-Feature  /FeatureName:NetFx3   /All  /LimitAccess  /Source:C:\sxs   and hit enter

This will take about 5-7 min to complete the installation.

After Completing installation confirm installation  by opening

Control panel >> program and features

Click on Turn windows feature on or off

here check if  .NET Framework 3.5 (includes .NET 2.0 and 3.0)  is marked or not

08

 

About these ads
Tagged with: , , , , , , , , , , , , , , , , , , , ,
Posted in Trcks, Windows, WINDOWS 7, WINDOWS 8

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 536 other followers

Follow

Get every new post delivered to your Inbox.

Join 536 other followers

%d bloggers like this: