dism /online /add-package /packagepath:"D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab"
Offline Installation of .NET Framework 3.5 via CAB File Installing .NET Framework 3.5 on modern Windows versions (Windows 10, 11, and Windows Server) can be challenging in environments without internet access. While Windows includes .NET 4.x by default, many legacy applications still require version 3.5. The standard method for offline deployment is using the located on the Windows installation media. 1. Locate the .NET 3.5 CAB File cab file for .net framework 3.5
Install script (install.cmd):
/Enable-Feature /FeatureName:NetFx3 : Specifies the .NET 3.5 feature. /All : Enables all parent features. cab file for .net framework 3.5