I been dealing for some time with an error installing AppFabric 1.1. for Windows Server. All started when, after having AppFabric installed my laptop runs in a System Restore after having updated the video driver. The restore puts my system in a previous state where the installation of AppFabric isn't exists.
After that, I've tried to re-install AppFabric with the surprise of getting the following error: Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
I've research on the error but most of the information found leads me to re-install the .NET Frameworks (all versions). Wrong.
Finally, keeping more attention to the MSI error I've found within the following post MSI Error 1603 installing AppFabric 1.1 / Win7 x64 which have correct the solution. I Have to say that the title is better than the content, in fact, I've pass over this post initially but does not look to have the solution, that was at the end of the thread.
The problem was that the "system restore" do not have removed the "PSModulePath" environment variable and the installation fails because it already exists!. Really simple solution, remove it.