This error occurs on updates or on the standalone installer and is related to a bunch of old .NET assembly files which shouldn't matter but still break the install process.
The solution is to go to C:\Windows\Microsoft.NET and rename the folder "assembly" to something else (e.g. "assembly_old").
You will now be able to install .NET 4