Manual installation of SharePoint 2013 PREREQUISITES
I attempted to install SharePoint 2013 on Windows Server 2012 R2. It didn't go so well. The main problem is that you can’t install the SharePoint 2013 Prerequisites using the standard install wizard. It would fail every time it tried to configure IIS.
I did finally get it to work, but it was not trivial at all. Here is how to install the prerequisites manually.
INSTALL WINDOWS ROLES/FEATURES
You need to install the following roles and features:
Roles:
- Application Server
- Web Server (IIS)
- IIS 6 Management Console
Features:
- ASP.NET 4.5
- Windows Identity Foundation 3.5
- Open Server Manager
- Click on “Add roles and features”.
- On the “Before you begin” page, click “Next”.
- Select “Role based or feature based installation” and click “Next”.
- If it isn't already selected, select “Select a server from the server pool”, and the server that you are currently working on. Then click “Next”.
- On the “Select server roles” page, check :
- “Application Server”
- “Web Server (IIS)”
- “IIS 6 Management Console” (under Web Server (IIS)→Management Tools→IIS 6 Management Compatibility→IIS 6 Management Console.)
- Click “Next”.
- On the “Select features” page, expand “.NET Framework 4.5 Features” group and check “ASP.NET 4.5″.
- On the same page, check “Windows Identity Foundation 3.5″. Click “Next”.
- On the “Application Server” page, click “Next”.
- On the “Select role services” page, check “Web Server (IIS) Support” and click “Next”.
- When the “Add features that are required for Web Server (IIS) Support?” dialog pops up, click on “Add Features”.
- Click “Next” again to go to the next page.
- From the “Web Server Role” page, click “Next”.
- From “Select role services”, click “Next”.
- On the “Confirm installation selections” page, I suggest that you check “Restart the destination server automatically if required”.
- Click “Install”.
- Wait for feature installation to complete. When it does, you can click “close”.
- Reboot if it doesn't do it automatically.
DOWNLOAD AND INSTALL SHAREPOINT PREREQUISITES
Craig Lussier has written three scripts to download and install the SharePoint 2013 prerequisites, but only the download script works on Windows Server 2012 R2 (they probably work fine on vanilla 2012), because the install scripts use Prerequisiteinstaller.exe. So take advantage of the download script, and do the rest manually.
So the steps:
- Download the scripts from http://gallery.technet.microsoft.com/DownloadInstall-SharePoint-e6df9eb8. (Or from here)
- Unzip, run PowerShell as an administrator and go to the directory with the unpacked script.
- Type “Set-ExecutionPolicy Unrestricted”. This is required because the scripts are unsigned and won’t run otherwise.
- Type ” .\Download-SP2013PreReqFiles.ps1”.
- At the Security Warning, type “r” for “Run once”.
- When prompted to “Please enter the directory path to where you wish to save the Sharepoint 2013 Prerequisite Files:”, type the directory of your choosing (which already exists), and press enter.
- The files will take some time to download, but there will be a text indicator that shows the download progress.
- Install the following files:
- MicrosoftIdentityExtensions-64.msi
- setup_msipc_x64.msi
- sqlncli.msi
- Synchronization.msi
- WcfDataServices.exe
- You can delete Windows6.1-KB974405-x64.msu. I couldn’t get it to run successfully on Windows 2012 R2.
- In PowerShell, go to the directory where you downloaded the files.
- To install AppFabric, type the following at the command line:
- .\WindowsServerAppFabricSetup_x64.exe /i CacheClient“,”CachingService“,”CacheAdmin /gac
- NOTE that there are quotes surrounding the commas. These are important in PowerShell.
- Wait a minute or two for AppFabric to install.
- NOTE: Except for the cursor hourglass, there isn't much of a cue that it’s done.
- Now you can install AppFabric1.1-RTM-KB2671763-x64-ENU.exe.
- Reboot the server.
All the prerequisites should now be installed, and you should be able to install SharePoint 2013.