I’ve gotten some nice responses in the comments over the last 2 months for my post on installing SharePoint 2013 on Windows Server 2012 R2 Preview. Fortunately, I’ve found that some things have changed for the RTM version of Win2012R2 (available now on MSDN; public release on October 18). Microsoft has fixed many of the issues, but unfortunately not all.
First of all, one of my commenters, Paul Whitaker, has suggested that there is a much quicker fix for the installation issues than my original post. Apparently, SQL Server 2012 puts a stray quote at the end of the PSModulePath environment variable in Windows. This is what errors out when the SharePoint Prerequisites Wizard attempts to install AppFabric. If you remove the trailing quote from PSModulePath, then the SharePoint Prerequisites Wizard should run fine (as will the rest of the standard installation process). I myself haven’t tried this yet, but it seems like a good idea for you to try that first before going through my whole manual process.
If fixing PSModulePath does not work, then you’ll be pleased to know that many of the permissions issues on R2 Preview have been fixed in R2 RTM. That means that you will only need to follow parts I and IIA of my original post for your installation to be successful. Parts IIB and IIC are no longer necessary, as the initial run of the SharePoint Configuration Wizard will complete successfully.
Thanks to Paul, and good luck everyone else.