This happened to me in a customer installation, during the installation, the installer verifies if .Net Framework 4.5 is available and fails to install SharePoint if Framework 4.6 is installed.
First think that you would think is: I did not install .Net Framework 4.6… but you have to be aware that this version is included in a Windows Update, so we need to uninstall this Windows Update to be able to install SharePoint.
But before uninstalling :net 4.6 or 4.6.1 we can verify which version we are using, to do this we can use the .NET Framework Setup Verification Utility and confirm which version is installed.
Then, what we need to do is to search one of the following updates and uninstall it:
- On Windows 7 SP1 and Windows Server 2008 R2 SP1, the Microsoft.NET Framework 4.6.1 is listed as an installed product under the Programs and Features item in Control Panel.
- On Windows 8 and Windows Server 2012, it’s listed as Update for Microsoft Windows (KB3102439) under theInstalled Updates item in Control Panel.
- On Windows 8.1 and Windows Server 2012 R2, it’s listed as Update for Microsoft Windows (KB3102467) under the Installed Updates item in Control Panel.
- On Windows 10, it’s listed as Update for Microsoft Windows (KB3102495) under the Installed Updates item in Control Panel.
Once uninstalled the update, will be necessary to restart the server in order to apply the changes. After the server has been rebooted it is possible to start the SharePoint installation process again.
Hope it helps!