Running these commands from a script or command line with admin privileges will install the entire framework without showing any user interface.
: Type the following command, replacing D: with your actual drive letter: DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:\sources\sxs