If you are attempting to re-install SharePoint on a server, after you have run the uninstall option for both SharePoint 2013 and Appfabric 1.1, you may encounter an issue when running the Prerequisite Installer.
It may reach the end of the installation process and then ask to reboot. When the server comes back up it may go through the same process over again, and then continue to reboot over and over again. The solution is to go into the registry editor (regedit) and browse to: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Enviroment/PSModulePath
If there is an entry there, the uninstall option for Appfabric did not fully remove itself, leaving behind an old entry.
Remove that key and reboot the server.
Now when you attempt to run the Prerequisite Installer, it will complete successfully.