I got this error while trying to install SharePoint 2013 on Windows server 2012 R2 data center. The error message is:
Setup is unable to proceede due to the following error(s):
Windows server appfabric is not correctly configured. You should uninstall Windows Server Appfabric and reinstall it using the SharePoint products preparation Tool.