Win8 - Offline installation of .Net Framework 3.x

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

  1. mictlan

    mictlan MDL Member

    Nov 9, 2009
    231
    116
    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

    Aug 24, 2009
    5
    0
    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

    Aug 19, 2009
    1,770
    1,101
    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

    Aug 12, 2012
    10
    0
    0
    Thanks for the guide!
     
  5. ucccafe

    ucccafe MDL Novice

    Feb 23, 2011
    28
    9
    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

    Aug 12, 2010
    1,556
    656
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. aswerth

    aswerth MDL Novice

    Jan 21, 2012
    29
    2
    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

    Aug 20, 2012
    5
    0
    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

    Nov 9, 2009
    231
    116
    10
    #9 mictlan, Aug 21, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
  10. temis01

    temis01 MDL Novice

    Jul 13, 2009
    7
    0
    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

    Feb 11, 2009
    1,964
    907
    60
    If I do this offline, then I should apply this to Index 1 & 2? Also, do I need "/LimitAccess"...

    ta
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Oldy

    Oldy MDL Novice

    Apr 1, 2011
    48
    2
    0
  13. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    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

    Feb 11, 2009
    1,964
    907
    60
    Thanks Mr Jinje. That makes sense!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. ESMJJ

    ESMJJ MDL Novice

    Aug 9, 2012
    21
    3
    0
    Thx , I Tried It Before :D
     
  16. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,221
    2,272
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    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

    Aug 19, 2009
    1,770
    1,101
    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

    Nov 30, 2009
    18,681
    18,587
    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

    Oct 7, 2010
    8,719
    6,741
    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