SharePoint 2013 -This product requires Microsoft .Net Framework 4.5

I got this error “This product requires Microsoft .Net Framework 4.5” during installing SharePoint 2013 on Windows Server 2012 R2 and I tried to follow the same steps suggested her but it did not succeed.

The right fix for my case was to remove this KB3102467 and then restart the windows.

For the sameĀ caseĀ , check this link