Saturday, January 26, 2013

Manually Install Microsoft App Fabric Prerequisite for SharePoint 2013



In order to manually install Windows Server App Fabric for SharePoint 2013, first download the install file:

http://www.microsoft.com/en-us/download/details.aspx?id=27115

assuming you store the file at c:

run the following commands from an elevated PowerShell command line:

$file = “c:\WindowsServerAppFabricSetup_x64.exe”

& $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
 
Note the double quotations around the commas.

56 comments:

  1. Thanks for this Doug. Very helpful.

    ReplyDelete
  2. Is it okay to install the the AppFabric SP1 after I install App fabric using these commands without changing any of the initial configurations.

    ReplyDelete
  3. Brian, I have not tried it, but all of the Microsoft documentation says to completely uninstall pre-existing versions of the App Fabric before installing version 1.1. I would recommend following these articles to uninstall an existing installation of AppFabric:

    http://msdn.microsoft.com/en-us/library/ff637683(v=azure.10).aspx

    http://msdn.microsoft.com/en-us/library/ff637741(v=azure.10).aspx

    ReplyDelete
  4. I have a questions, I seem to have an issue with the app fabric on a new farm build with 3 servers. I think the problem may be because I see when I click on configure, it shows "This Machine is not a member of an AppFabric Caching Cluster" And then is shows the A feature AppFabric requires Enterprise or higher.....well how can I do that with server 2012? It either standard or datacenter with no feature differences that I am aware of.

    Anybody else have this problem?

    ReplyDelete
  5. Tom, I'm not sure exactly what steps you followed to install AppFabric, but you may want to take a look at this post: http://social.msdn.microsoft.com/Forums/en-US/sharepointadmin/thread/c4e19d6b-8599-4048-a679-d7c7fed6bc07

    ReplyDelete
  6. Thank you so much, sir! :D You've helped us in our internship :)

    ReplyDelete
  7. Thanks a lot.. This one helped me to fix the appfabric configuration issue while installing Sharepoint 2013

    ReplyDelete
  8. I always end up wit:

    PS C:\> $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
    At line:1 char:8
    + $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
    + ~
    You must provide a value expression on the right-hand side of the '/' operator.
    At line:1 char:8
    + $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
    + ~
    Unexpected token 'i' in expression or statement.
    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExpectedValueExpression

    Any suggestions?

    ReplyDelete
  9. Add the &-sign in front of $file (see above)

    ReplyDelete
  10. I have tried for about 6 hours total to get this AppFabric working correctly on Server 2012. I thought this looked promising....and it extracts the contents like its going to install, but then nothing ever happens, and it does not get installed. Any ideas?

    ReplyDelete
  11. Excellent! Thanks so much

    ReplyDelete
  12. Superb ,Really great I have been faced this problem from two days , Now I did this as you suggested, It is working fine.

    Thanks

    ReplyDelete
  13. Hey Really thanks . I have been faced this problem from two days .Now I did this as you suggested it is working fine.

    ReplyDelete
  14. Thx,it resolved my problem, during Two days i tried many scripts to setup AppFabric but no result.

    ReplyDelete
  15. Good article, I searched a lot and finally reached to your blog and its work for me.
    Thanks a lot

    ReplyDelete
  16. Resolved my issue, you're a lifesaver!

    ReplyDelete
  17. Saved my bacon. I wrestled with this for a few hours before the "right" Google search turned up your post.

    ReplyDelete
  18. most excellent, thanks for posting this!

    ReplyDelete
  19. Thank you Doug for taking the time to share, success!

    ReplyDelete
  20. Thanks Doug. It was helpful.

    ReplyDelete
  21. Thanks so much for the post. Saved me a great deal of valuable time.

    ReplyDelete
  22. Thank for the post. Just saved me some valuable troubleshooting time...

    ReplyDelete
  23. Thank you so much! Was an end to a day long problem.

    ReplyDelete
  24. i have been spending way too much time fighting an SP '13 install on a '12 R2 server. it looks like this was my last piece. huge help!

    ReplyDelete
  25. On running this command it extracts the contents like its going to install, but then nothing ever happens, and it did not get installed. I didn't find APpfabric service running. Also did not find the software installed in Add/Remove programs. I wonder if OS 2012 R2 is something to do with this. ? Please help.

    ReplyDelete
  26. Doug you rock...

    ReplyDelete
  27. thanks a lot, finally I got solution from your blog

    ReplyDelete
  28. Thanks Doug! Confirmed working on Windows Server 2012 R2 although I had to run it without using the variable, in a single line and that allowed it to run without any errors. It wont let you know it's been installed so but it only took around 2 minutes to install. Look for setup.exe in task manager and wait till it disappears. Restart and then you're good to go.

    ReplyDelete
  29. You are awesome boss... You saved my days...

    ReplyDelete
  30. Good work mate, if only microsoft made things "simple" Bugged me about an hour and half trying to resolve this.
    Thankjs==

    ReplyDelete
  31. thank you sir, i did install for me. i really appreciate it

    ReplyDelete
  32. I also struggled for 2 days trying to install Appfabric to install SP13 to no avail to the point to think the process could have corrupted the 2012 R2, so I deleted the VM to going through the trouble of reconfiguring it and installing SQL Server wish I came to your site first. Why don't any of the MS site mention this. Thanks Doug.

    ReplyDelete
  33. This was very helpful, thank you

    ReplyDelete
  34. Thanks Doug, many hours saved trying get appfabric installed cleanly

    ReplyDelete
  35. Work for me. Many thanks

    ReplyDelete
  36. can you pls add a statement in your article.. that windows update service should be running before installing app fabric... I struggled a lot even after following yours and a few other blogs and found that update service as culprit.

    ReplyDelete
  37. Thanks so much. This worked like a champ. Now onto the rest of the install and setup.

    ReplyDelete
  38. Thanks.. this worked

    ReplyDelete
  39. thanks doug you saved my life

    ReplyDelete
  40. Thank you! Very helpful to fix an AppFabric config error before installing SP2013!

    ReplyDelete
  41. Hi Dough,

    After using 10000 techniques to install the stupid App Fabric, I used yours, and it works.

    10000 Salute to you, thanks bro...thanks.... :)

    ReplyDelete
  42. Thank you very much buddy.. You saved a day..

    ReplyDelete
  43. Someone please give this guy a medal or 10!

    ReplyDelete
  44. Amazing solution!!!

    ReplyDelete
  45. YOU ARE AWESOME!!!
    THank you
    I've spen about 7 hours on google to install the appfabrik properly. You made it happen.

    ReplyDelete
  46. very helpful knowledge

    ReplyDelete