If you install Visual Studio 2010, you might meet the trouble that it is freeze on installing .NET framework 4.0, no matter you want to install .NET 4.0 using standalone version later, you still can not install .NET 4.0 successfully.
The solution is : use a Clean up tool first.
The following are detail steps:
download Cleanup tool here and use it to clear your failed installation of .NET Framework 4.0
Run .NET installer to install .NET 4.0 with Administrator Privilege
follow other information from here
Good luck !