Microsoft .NET 4 Framework
The process to deploy .NET 4 involves downloading the Standalone .NET 4 installer .exe and deploying the installation via a BCX Custom Package Task.
Download
Download the Standalone .NET 4 installer (dotNetFx40_Full_x86_x64.exe) from:
http://www.microsoft.com/en-us/download/details.aspx?id=17718
Next, you need to copy the dotNetFx40_Full_x86_x64.exe file to your packages$ share or distribution point
eg \\servername\packages$\EXE\.NET4
If the installation file has been downloaded from the Internet it now needs to be unblocked
How to unblock files downloaded from the Internet for Deployment.
Installation Instructions
You can now create a custom package task to deploy .NET using the following command:
\\servername\packages$\EXE\.NET4\dotNetFx40_Full_x86_x64.exe /q /norestart
After adding the task, only assign to a few individual testing stations to test deployment