I had the same problem, but windows 7 has .net 3.5.1 already installed, i kept trying to install some programs and it wouldn't let me saying that .net 3.0 or higher needed to be installed.
This is how i fixed it;
Go to: start/control panel/programs and features
On the top left you should see "Turn windows features on or off" click on that
Find "Microsoft .NET framework 3.5.1" when the window opens
Click the + sign next to it to expand it so you can now see:
"Windows Communication Foundation HTTP Activation"
"Windows Communication Foundation HTTP non-Activation"
Make sure there is a tick in both boxes and select OK.
Hope that helps.