I am trying to install SP 2013 Foundation Prerequisites on a Windows Server 2012 R2 Standard environment. Unforunately, I am not even able to get past the prerequisites. First, it was throwing an error related to Sync Framework v1 runtime and so I installed this manually. Then, when I ran the prerequisite installer again, I keep getting error for AppFabric 1.1, saying it is not able to install this. The interesting thing is that, it already has AppFabric 1.1 installed, although not all the features of AppFabric like Caching Services and Cache Administration are installed (rest of them are installed). When I try to manually enable these features, it doesn't let me. So, I am stuck now. Can anyone please help me?
I tried out many things like removing the environment variable for AppFabric, following the powershell approach for installing the prereqs and so on, but no luck.