While installing the preReqs for SharePoint 2013 i stuck at AppFabric installation when i got error “Appfabric installation failed because installer MSI returned with error code:1603″. After a long search i found the solution which i am listing here as well.
Open RegEdit and search “PSModulePath”, you will be shown the following screen:
Right click PSModulePath and select Modify…
At the end of Value Data you will find an extra ” which needs to be removed. Once removed, re try the installation and it will be successfull.