Deploying .Net Framework 3.5 in a Windows Image

Discussion in 'Windows 8' started by Lothan88, Dec 15, 2012.

  1. Lothan88

    Lothan88 MDL Novice

    Mar 10, 2012
    23
    2
    0
    #1 Lothan88, Dec 15, 2012
    Last edited: Dec 18, 2012
    Hello, I'm new around here, I don't know if this post goes on this forum (sorry if it doesn't) but I have a more important question. I've made a Windows 8 AIO in which I included a WMC unlocked build but it can't be activated because no serials are found. I decided better than that to remove that image and include .net framework 3.5 preinstalled with windows in stead of enabling it from WU or using Dism.

    The problem is just that I don't know how to enable the feature in a .wim image. If anybody could give me a link to that I'd really appreciate it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    5,873
    20,139
    180
    #2 Alphawaves, Dec 15, 2012
    Last edited by a moderator: Apr 20, 2017
    Code:
    Dism /Image:C:\mount /enable-feature /featurename:NetFX3 /All /Source:C:\ISO8\sources\sxs /LimitAccess
    C:\mount = mount location
    C:\ISO8\sources\sxs = location of sxs folder

    /All = Enable all parent features of the specified feature
    /LimitAccess = Prevent DISM from contacting Windows Update
    /Source = Specify the location of the files needed to restore the feature.
    /Image = Location of mounted image.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,100
    1,169
    60
    #3 AnarethoS, Dec 15, 2012
    Last edited by a moderator: Apr 20, 2017
    Please note that you should do this before adding any language in your installation media if it was your plan, as doing it will prevent adding .NET 3.5 "offline".
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Alphawaves

    Alphawaves Super Moderator/Developer
    Staff Member

    Aug 11, 2008
    5,873
    20,139
    180
    Good point, but hes not said anything about adding languages!!:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Lothan88

    Lothan88 MDL Novice

    Mar 10, 2012
    23
    2
    0
    No, I just want to add the framework. The Language of my AIO is Spanish. Thanks a lot to both of you for enlightening me :) I'm deploying Enterprise x64 right now, so I'm finishing the job. Thanks again :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Lothan88

    Lothan88 MDL Novice

    Mar 10, 2012
    23
    2
    0
    now I'm facing the problem that the iso exceeds the weight by 22 MB, so I'm forced to use a dvd9, now that the feature is preinstaled into de the win images I think that I can reduce the space by deleting the .net framework files for 3.5 in the sxs folder but exactly which files do I have to delete? Thanks a lot who can enlighten me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    575
    584
    30
    #7 BTOR, Dec 21, 2012
    Last edited by a moderator: Apr 20, 2017
    Export each of the image inside the wim with " /Compress:max " switch"

    Code:
    Dism /Export-Image /SourceImageFile:install.wim /SourceIndex:1 /DestinationImageFile:install2.wim /Compress:max
    look @ abbodi1406 post
     
  8. Lothan88

    Lothan88 MDL Novice

    Mar 10, 2012
    23
    2
    0
    Thanks a lot!!! I reduced my wim and I don't need to delete the sxs folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...