xpclient Posted September 7, 2013 Posted September 7, 2013 (edited) 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 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 September 7, 2013 by xpclient
MrJinje Posted September 7, 2013 Posted September 7, 2013 (edited) 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 September 7, 2013 by MrJinje
DosProbie Posted September 7, 2013 Author Posted September 7, 2013 Good Stuff Guys! Also for those of you doing the post install method with 8.1 9600 and having error messages aboutnot 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
pleXtOr Posted November 15, 2013 Posted November 15, 2013 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 /Commitcan I do this on 64bit install.wim + 64bit sxs but on 32bit host? wanna make 32/64bit iso with netfx35..
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now