Win8 - Offline installation of .Net Framework 3.x

Discussion in 'Windows 8' started by mictlan, Aug 19, 2012.

  1. mictlan

    mictlan MDL Member

    Joined:
    Nov 9, 2009
    Messages:
    224
    Likes Received:
    115
    Trophy Points:
    10
    #1 mictlan, Aug 19, 2012
    Last edited by a moderator: Apr 20, 2017
    Default Windows 8 installation does not include .Net Framework 3.x
    On a computer that is NOT connected to the Internet you can't install it the 'usual' way:

    Control Panel -> Programs and Features -> Turn Windows features on or off -> .NET Framework 3.5
    as soon as you check the box and hit ok, the system tries to contact Microsoft Web Servers.

    Here is the way to do it offline:
    If you are unable to connect your computer to the Internet, you can enable the .NET Framework 3.5 by using the installation media (ISO image or DVD) you installed Windows 8 from. Mount the Windows 8 installation media and type the following command from an [bold]elevated[/bold] command prompt:

    Code:
     Dism /online /enable-feature /featurename:NetFx3 /All /Source:x:\sources\sxs /LimitAccess 
    Replace x:\ with the path to your installation media.
    Hint: In Windows 8 you can mount .iso files by right click -> Mount

    This may work for other options as well.
     
  2. senthil61

    senthil61 MDL Novice

    Joined:
    Aug 24, 2009
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    please mount the untouched iso in virtual drive and run the command with the virtual drive's letter. you are done
     
  3. Mr Jinje

    Mr Jinje MDL Expert

    Joined:
    Aug 19, 2009
    Messages:
    1,773
    Likes Received:
    1,098
    Trophy Points:
    60
    A slightly more offline method.

    1) Mount your install.wim w/ dism
    2) Run the dism command from the first post, but edit it to point to the mount location, also remove the 'online' switch which defaults to the live OS.
    3) Commit the wim and dismount.

    every new install from that wim, will include netfx3 by default.
     
  4. doggie015

    doggie015 MDL Novice

    Joined:
    Aug 12, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the guide!
     
  5. ucccafe

    ucccafe MDL Novice

    Joined:
    Feb 23, 2011
    Messages:
    24
    Likes Received:
    5
    Trophy Points:
    0
    4.5 is better for Win8
    download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe
     
  6. Shenj

    Shenj MDL Expert

    Joined:
    Aug 12, 2010
    Messages:
    1,557
    Likes Received:
    656
    Trophy Points:
    60
  7. aswerth

    aswerth MDL Novice

    Joined:
    Jan 21, 2012
    Messages:
    29
    Likes Received:
    2
    Trophy Points:
    0
    It was asking .NET 3.5 even when installing .NET 3.5 :D Thank you for offline installer! :rolleyes:
     
  8. tajin

    tajin MDL Novice

    Joined:
    Aug 20, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I just lost my installation file.
    Did i need to download the file again (about 4 gb +) just to install net.framework ?
     
  9. mictlan

    mictlan MDL Member

    Joined:
    Nov 9, 2009
    Messages:
    224
    Likes Received:
    115
    Trophy Points:
    10
    #9 mictlan, Aug 21, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
  10. temis01

    temis01 MDL Novice

    Joined:
    Jul 13, 2009
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    sure 4.5 is better, but some apps will require 3.5 to work, that is the point of this thread ;)
     
  11. Flipp3r

    Flipp3r MDL Expert

    Joined:
    Feb 11, 2009
    Messages:
    1,743
    Likes Received:
    772
    Trophy Points:
    60
    If I do this offline, then I should apply this to Index 1 & 2? Also, do I need "/LimitAccess"...

    ta
     
  12. Oldy

    Oldy MDL Novice

    Joined:
    Apr 1, 2011
    Messages:
    48
    Likes Received:
    2
    Trophy Points:
    0
  13. Mr Jinje

    Mr Jinje MDL Expert

    Joined:
    Aug 19, 2009
    Messages:
    1,773
    Likes Received:
    1,098
    Trophy Points:
    60
    Yes, must be applied to each and every image inside your WIM. Documentation says LimitAccess prevents it from going online to get the files. Not sure if that is 'needed', but it probably won't hurt anything.
     
  14. Flipp3r

    Flipp3r MDL Expert

    Joined:
    Feb 11, 2009
    Messages:
    1,743
    Likes Received:
    772
    Trophy Points:
    60
    Thanks Mr Jinje. That makes sense!
     
  15. ESMJJ

    ESMJJ MDL Novice

    Joined:
    Aug 9, 2012
    Messages:
    21
    Likes Received:
    3
    Trophy Points:
    0
    Thx , I Tried It Before :D
     
  16. pisthai

    pisthai Imperfect Human

    Joined:
    Jul 29, 2009
    Messages:
    7,060
    Likes Received:
    2,158
    Trophy Points:
    240
  17. Mr Jinje

    Mr Jinje MDL Expert

    Joined:
    Aug 19, 2009
    Messages:
    1,773
    Likes Received:
    1,098
    Trophy Points:
    60
    First because older apps require legacy .net versions to run on W8. Second reason, I'm not sure you are aware, but v4.0 is installed by default, installing it twice won't help.
     
  18. Mr Jinje

    Mr Jinje MDL Expert

    Joined:
    Aug 19, 2009
    Messages:
    1,773
    Likes Received:
    1,098
    Trophy Points:
    60
    That's one way of doing it. But may I alternatively suggest using the copy of netfx3 stored on the W8 install DVD in the \Sources\sxs folder.
     
  19. Tito

    Tito Super Mod / Adviser Staff Member

    Joined:
    Nov 30, 2009
    Messages:
    17,888
    Likes Received:
    16,542
    Trophy Points:
    340
    @jackerz59

    1. .Net framework isn't cumulative, so you need 3.5 SP1 which also covers previous versions.
    2. The offline installer for .Net Framework 3.5 SP1 doesn't work under Windows 8.
     
  20. EFA11

    EFA11 Avatar Guru

    Joined:
    Oct 7, 2010
    Messages:
    8,729
    Likes Received:
    6,728
    Trophy Points:
    270
    #20 EFA11, Oct 28, 2012
    Last edited by a moderator: Apr 20, 2017
    Code:
    Microsoft Windows [Version 6.2.9200]
    (c) 2012 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess
    
    Deployment Image Servicing and Management tool
    Version: 6.2.9200.16384
    
    Image Version: 6.2.9200.16384
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Windows\system32>
    
    Thank you, I found this a while ago but forgot about it. I needed it today