DDF: package.ddf
.Set CabinetNameTemplate=dotnet35.cab
.Set CompressionType=LZX
.Set Cabinet=on
.Set DiskDirectoryTemplate=.
"payload\dotnetfx35.exe"
"payload\updates\windows6.1-kbxxxx.msu"
"payload\sxs\*"
Build:
Install script (install.cmd):
@echo off
mkdir "%temp%\dotnet35"
expand -F:* "%~dp0\dotnet35.cab" "%temp%\dotnet35"
"%temp%\dotnet35\dotnetfx35.exe" /q /norestart
rem If using DISM for SxS:
rem DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:%temp%\dotnet35\sxs /LimitAccess
Microsoft provides .NET Framework 3.5 as a feature-on-demand. The offline installation source can be a CAB file named something like: cab file for .net framework 3.5
This CAB contains the binaries required to install .NET Framework 3.5 (which includes 2.0 and 3.0) without downloading from Windows Update. DDF: package
For IT administrators managing hundreds of machines, manually running DISM is inefficient. You can deploy the CAB silently using enterprise tools. Build:
You have a Windows PC without internet, or you want to deploy .NET 3.5 to many machines quickly without each one downloading from Microsoft.