I tried an option to install the SharePoint 2016 Prerequisites by manually download and install it. So I have used the power shell script provided in the below link and the script helps me to download manually. (The link also provides the script to install and configuration of the prerequisites – But I didn’t used that, instead I do something different)
http://pcfromdc.blogspot.in/2015/08/download-and-install-prerequisites-for.html
Based on the link provided in the above link, downloaded the Windows Server AppFabric and manually installed it.
After that I have run the “Install Software Prerequisites” from SharePoint 2016 installation file to verify everything installed manually is correct. There comes the issue that says “Windows Server Appfabric: Installation error“.
After some research I got to know, the prerequisites installs the file and configure it automatically. If we install manually, then we are trying to bypass the configuration, so that we have received the error. Based on my research, we got multiple solutions too and i included below.
Solution 1: Remove the “PSModulePath” entry in system environment variables and then try to run the “Install Software Prerequisites“. Now everything run fine.
Solution 2: Run the prerequisites in command prompt and try to install required files. (I didn’t try this)
Reference: http://sharepoint.stackexchange.com/questions/112169/sharepoint-2013-appfabric-installation-error
After running the solution 1 approach, everything smoothly runs and completed the installation successfully.
August 1, 2016 at 4:15 AM
Thanks Shantha, deleting PSModulePath solved my installer issue.
it really helped.
Thanks,
Haroon
June 22, 2017 at 11:20 PM
This was the correct solution for me.
Unlike the many other posts about this issue which were ‘Fake News’
Thank you,
Anthony Romaine
September 19, 2017 at 6:30 AM
Brilliant, worked all day on this and your solution worked. Thanks so much!
February 1, 2018 at 5:56 PM
Awesome. you saved my day.
July 28, 2018 at 11:26 AM
Awesome!
There is an extra double quote character in PSModulePath variable
August 5, 2018 at 1:19 AM
Really Thank you.after 5 hours googling you saved me
March 8, 2019 at 2:21 PM
hi this dosn’t work to me, but i tried install the prereq on a nonupdated server and its works fine. 2019 03… ms
April 5, 2019 at 6:21 PM
You don’t need to remove it.. just fix the quote character as @Eric Fang mentions
April 12, 2020 at 6:34 PM
Thank you! It really helped me :) Lovely day to you.
August 27, 2020 at 12:48 PM
I tried Solution 1 and it worked for me. Thanks for this simple and brilliant blog.
November 14, 2020 at 4:36 AM
You saved my life. Solution 1 worked. Thanks
May 20, 2021 at 4:01 AM
Hi, thanks very much, you save my night (working till 4AM) with several solution, can not believe