Jump to content

NET 3.5 Offline Installer for Win8


DosProbie

Recommended Posts

Well for some reason, DOS_Probie's original script wasn't working for me on 8.1 x64 so I slightly modded it. But this "offline" method means one without internet access. MS also uses the word "offline" for DISM image servicing operations :P in which case this isn't applicable.

@echo off&color atitle, [ + OFFLINE INSTALL OF NET 3.5 FRAMEWORK - DOS_PROBIE.2012 + ] :: =Windows 8 includes .Net 4.5 by default but not .NET 3.5 =::NOTE: INSTALLS .NET 3.5 FRAMWORK FEATURE ON DEMAND (FoD) FROM INSTALL DISC.::NetFx35.cmd:: SCAN_ACTIVE DRIVES;set "drv="for %%a 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 "%%a:\bootmgr.efi" set drv=%%a:&goto :Install:Installif defined drv (echo == Installing NET 3.5 From Drive %drv%Dism /online /enable-feature /featurename:NetFX3 /All /Source:%drv%\sources\sxs /LimitAccess:: LOGdism /online /Get-FeatureInfo /FeatureName:NetFx3 >%systemdrive%\NetFx3.logecho.&echo.clsecho * DONE *echo.&echo.echo == Press any [KEY] to Close This Screen. &pause>nul) else (:: NO_DRIVEecho == No Active Drive Found!..Insert DVD or USB then Start Over. &pause>nul echo.)
Edited by xpclient
Link to comment
Share on other sites


A slightly more offline method. Should save everyone about 3 minutes per re-installation.

Dism /Mount-WIM /WimFile:C:\test\images\install.wim /Name:"Windows 8 Professional" /MountDir:C:\test\offlineDism /Image:C:\test\offline /Enable-Feature /FeatureName:NetFx3 /Source:X:\sources\sxsDism /Unmount-WIM /MountDir:C:\test\offline /Commit
Edited by MrJinje
Link to comment
Share on other sites

Good Stuff Guys! Also for those of you doing the post install method with 8.1 9600 and having error messages about
not finding the source etc. confirm the file size of your sxs directory it should be 275 MB (287,798,829 bytes) with 1,175 Files and 775 Folders. And for Non Admin accounts dism requires an elevated prompt so don't forget the right-click as Admin.. DP :yes:

Link to comment
Share on other sites

  • 2 months later...

A slightly more offline method. Should save everyone about 3 minutes per re-installation.

Dism /Mount-WIM /WimFile:C:\test\images\install.wim /Name:"Windows 8 Professional" /MountDir:C:\test\offlineDism /Image:C:\test\offline /Enable-Feature /FeatureName:NetFx3 /Source:X:\sources\sxsDism /Unmount-WIM /MountDir:C:\test\offline /Commit

can I do this on 64bit install.wim + 64bit sxs but on 32bit host? wanna make 32/64bit iso with netfx35.. :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...