Download the .NET Framework 4 standalone installer and save it to your hard drive
Run the following command to extract the contents of the .NET Framework 4 installer: dotNetFx40_Full_x86_x64.exe /x:c:\dotnetfx4
Run the following command to create an administrative install point for the .NET Framework 4 core x86: msiexec /a c:\dotnetfx4\netfx_Core_x86.msi EXTUI=1 TARGETDIR=c:\dotnetfx4\AIP\netfx_core_x86
Run the following command to create an administrative install point for the .NET Framework 4 core x64: msiexec /a c:\dotnetfx4\netfx_Core_x64.msi EXTUI=1 TARGETDIR=c:\dotnetfx4\AIP\netfx_core_x64
Run the following command to create an administrative install point for the .NET Framework 4 extended x86: msiexec /a c:\dotnetfx4\netfx_Extended_x86.msi EXTUI=1 TARGETDIR=c:\dotnetfx4\AIP\netfx_extended_x86
Run the following command to create an administrative install point for the .NET Framework 4 extended x64: msiexec /a c:\dotnetfx4\netfx_Extended_x64.msi EXTUI=1 TARGETDIR=c:\dotnetfx4\AIP\netfx_extended_x64
Once you’ve created the administrative install points described above, you should be able to install the MSIs in the administrative install point folders directly or use steps like the ones previously published for the .NET Framework 2.0 to create Group Policy objects to deploy the .NET Framework 4.
Read more: Aaron Stebner's WebLog