The product requires Microsoft .NET Framework 4.5: I’ll go straight to the point, the issue is not .NET Framework 4.5 that is corrupted, but it’s .NET Framework 4.6 (or 4.6.1) that is installed and confuses SharePoint’s installer! It drove me insane and when I finally resolved it, I found an article from Microsoft about it. This was a funny error since when running the prerequisites, it was ok and it detected .NET 4.5 but it didn’t when it was going to install it.
All you have to do is uninstall .NET 4.6.1/4.6!
I had this issue whilst trying to install SharePoint 2013 – The product requires Microsoft .NET Framework 4.5.
Bad news: when trying to search for .NET in the Add/Remove Programs (View Installed Updates), you won’t find it! You need to have the KB number for it. Good news: for .NET 4.6.1 it’s KB3102467.
Update 20191015: If you have .NET 4.8 installed, then you must uninstall Update for Microsoft Windows (KB4486081). Thanks to Protonus for pointing it out.
So, go in View Installed Updates and Uninstall KB3102467.
Note: If you’re uninstalling 4.6.1, it’ll also uninstall 4.6! Now you can restart the server and you’ll be able to continue with your installation.
The first step I took to troubleshoot this issue was to verify what .NET version I had installed on my Windows Server 2012 R2 server. (more…)