Hi,
I encountered a problem while installing SharePoint 2013 on Windows 2012 R2 and the installed failed and said
Apparently .NET 4.5 Framework was installed but also .Net 4.6 is also installed and SP 2013 does not like it. So
Go to the Control Panel --> Programs --> Programs and Features --> View Installed Updates
Find KB3102436 and Un-install it.
This will resolve your problem.
Happy SharePointing