Installing SQL server 2008R2/2012 on windows server 2012 box
I have used option 2 from this article many times to fix this issue.

Basically insert the windows install disk, enable the .net 3 feature but select the option to 'specify an alternate path' at the end of the wizard. The different path should be D:\sources\sxs (if the disc is in your D drive)