Offline installation (No Internet Connection) of SharePoint 2013 SP1 Prerequisites on Windows Server 2012 R2

This is my first in a series of blog posts explaining various ways to present System Center Operations Manager dashboards. SharePoint is not required to publish dashboards; however, as the series continues this will be a key contribution when we do begin integrating dashboards into SharePoint. This post will not cover the full installation of SharePoint, only setting up your SharePoint servers for offline install of SharePoint 2013 SP1 on Windows Server 2012 R2 Operating System.

Craig Lussier created a very comprehensive Wiki article on this for SharePoint 2013 RTM. I am merely adding some things that helped me along the way in addition to performing the install with SharePoint 2013 SP1 on Server 2012 R2. Also, the focus of this blog will be offline installs and configurations.

The first thing to do is copy the SharePoint 2013 SP1 binaries over to the server you plan on installing SharePoint on. For this blog I will use E:\SharePoint2013SP1Install\ as the root folder and will only use one server for all SharePoint roles later in the series. You will need to perform the prerequisite installs on any servers you plan on installing SharePoint 2013 SP1 on.

If you try to run Setup.exe with no prerequisites installed you will receive this error:

This will place the necessary Windows Server 2012 R2 Server Manager prerequisites into an InstallPending status. You can verify this (Before rebooting) by using the PowerShell command: Get-WindowsFeatures and reviewing the list of features with a status of InstallPending. Once rebooted the features will show an Installed status.

Alternatively you can use the following PowerShell script with the Windows Server 2012 R2 installation media to install the necessary features:

Import-Module ServerManager

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer –Source D:\sources\sxs

Now if you try to run Setup.exe you will receive the following error:

Notice that the Server Manager Prerequisites are no longer listed.

As with SharePoint 2013 RTM there are several prerequisite installs with specific versions that must be installed prior to installing SharePoint. There really is only one additional application to install for SP1, WcfServices version 5.6. I recommend renaming at download so the WcfDataServices.exe 5.0 file does not get overwritten when placed into the same directory. I save these files and copy them to the directory where we stored the SharePoint binaries E:\SharePoint2013SP1Install\PreRequisiteInstallerFiles\

The list of files to download are as follows:

SQL Server 2008 R2 SP1 Native Client:
https://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi

Microsoft WCF Data Services 5.0:
https://download.microsoft.com/download/8/F/9/8F93DBBD-896B-4760-AC81-646F61363A6D/WcfDataServices.exe

Microsoft WCF Data Services 5.6 (rename this download to WcfDataServices56.exe):
https://download.microsoft.com/download/1/C/A/1CAA41C7-88B9-42D6-9E11-3C655656DAB1/WcfDataServices.exe

Microsoft Information Protection and Control Client (MSIPC):
https://download.microsoft.com/download/9/1/D/91DA8796-BE1D-46AF-8489-663AB7811517/setup_msipc_x64.msi

Microsoft Sync Framework Runtime v1.0 SP1 (x64):
https://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi

Windows Identity Extensions:
https://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/r2/MicrosoftIdentityExtensions-64.msi

Windows Identity Foundation (KB974405):
https://download.microsoft.com/download/D/7/2/D72FD747-69B6-40B7-875B-C2B40A6B2BDD/Windows6.1-KB974405-x64.msu

Windows Server AppFabric:
https://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe

CU 1 for AppFabric 1.1 (KB2671763):
https://download.microsoft.com/download/7/B/5/7B51D8D1-20FD-4BF0-87C7-4714F5A1C313/AppFabric1.1-RTM-KB2671763-x64-ENU.exe

Once you download the files and save them to the isolated network server you can run the following PowerShell script as Administrator to install them:

(Be sure everything from Start-Process on is on the same line, do not copy and paste the entire code from here as I edited it for page formatting)

$SharePoint2013SP1Path = "E:\SharePoint2013SP1Install"

Start-Process "$SharePoint2013SP1Path\PrerequisiteInstaller.exe" –ArgumentList "/SQLNCli:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\sqlncli.msi /IDFX:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\Windows6.1-KB974405-x64.msu /IDFX11:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\MicrosoftIdentityExtensions-64.msi /Sync:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\Synchronization.msi /AppFabric:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\ WindowsServerAppFabricSetup_x64.exe /KB2671763:$SharePoint2013SP1Path\ PrerequisiteInstallerFiles\AppFabric1.1-RTM-KB2671763-x64-ENU.exe /MSIPCClient:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\setup_msipc_x64.msi /WCFDataServices:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\WcfDataServices.exe /WCFDataServices56:$SharePoint2013SP1Path\PrerequisiteInstallerFiles\WcfDataServices56.exe"

 

Once you execute the PowerShell script the Products Preparation Tool will open:

This lists the applications that will be installed if not installed already.

Follow the wizard to continue installing the prerequisites.

Once completed you will be prompt to reboot:

Once you select finish and the system reboots it may require additional installations.

You will receive an Installation Complete notice when completed:

You are ready to install SharePoint 2013 SP1 on Windows Server 2012 R2.

You are now able to run Setup.exe from the SharePoint install files directory as an Administrator with database permissions.

Enter your product key to continue with the installation:

Comments

  • Anonymous
    January 01, 2003
    Thanks! Great info.

  • Anonymous
    January 01, 2003
    Thanks Chris, yes GPOs can cause all kinds of added difficulties.

  • Anonymous
    January 01, 2003
    A Mathew, awesome to hear you got it figured out! Thanks for the feedback.

  • Anonymous
    January 01, 2003
    xjshiya, make sure the SQL Server 2008 R2 SP1 Native Client is in the following location: E:SharePoint2013SP1InstallPreRequisiteInstallerFilessqlncli.msi. And that the file name is sqlncli.msi. If you are using a different directory or drive letter you will need to update the install path in the install script. $SharePoint2013SP1Path = "E:SharePoint2013SP1Install" (The path to the install files is the part in quotes).

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    June 02, 2014
    As a side note, if you have Require Powershell Signing turned on via GPO, you have to turn that off via GPO or the prereq will always fail on the Application Server configuration

  • Anonymous
    July 08, 2014
    Thanks, this post was very helpful!

  • Anonymous
    July 18, 2014
    Thanks. An up to date blog article; hooray :)

  • Anonymous
    October 23, 2014
    Thanks to much for all download links

  • Anonymous
    October 24, 2014
    I'm still getting an error when using this tutorial. It says, "There was an error in the installation. The tool was unable to download MS SQL Server 2008 R2 SP1 Native Client. Please check your internet connection and try again." But I already have downloaded all the files you listed. Please help.

  • Anonymous
    October 31, 2014
    The comment has been removed

  • Anonymous
    October 31, 2014
    I had actually saved the file as you suggested, but it did not work. Later I figured out that I was not using SP1 iso file. Dowloaded SP1 from msdn and all went smooth.

  • Anonymous
    November 11, 2014
    This blog post was exactly what I needed, and it worked like a charm! Thank you for this!

  • Anonymous
    November 25, 2014
    Great Article. Thanks a lot.
    How to install language Pack with SP1?

  • Anonymous
    December 22, 2014
    • Microsoft .NET Framework 4.5: equivalent products already installed (no action taken)
    • Windows Management Framework 3.0: was already installed (no action taken)
    • Application Server Role, Web Server (IIS) Role: configured successfully
    • Microsoft SQL Server 2008 R2 SP1 Native Client: equivalent products already installed (no action taken)
    • Windows Identity Foundation (KB974405): was already installed (no action taken)
    • Microsoft Sync Framework Runtime v1.0 SP1 (x64): was already installed (no action taken)
    • Windows Server AppFabric: installation error
    • Microsoft Identity Extensions: equivalent products already installed (no action taken)
    • Microsoft Information Protection and Control Client: equivalent products already installed (no action taken)
    • Microsoft WCF Data Services 5.0: equivalent products already installed (no action taken)
    • Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763): Installation skipped


    i get this error for appFabric
    i tried uninstalling and removing all registery related items same issue. i installed using powershell through the prerequisites installer but same error.

    anyone have a clue

  • Anonymous
    December 23, 2014
    I managed to install however:
    1- fresh OS installation.
    2- Don't install SQL server now
    3- Install prerequistes in offline mode using elevated cmd. (script will be below note: no new lines just 1 space between each file / )
    4- successful prerequistes
    5- Install SQL2012.
    6-Install SP2013

    prerequisiteinstaller.exe /SQLNCLi:prerequisiteinstallerfilessqlncli.msi /PowerShell:prerequisiteinstallerfilesWindows6.1-KB2506143-x64.msu /NETFX:prerequisiteinstallerfilesdotNetFx45_Full_x86_x64.exe /IDFX:prerequisiteinstallerfilesWindows6.1-KB974405-x64.msu /Sync:prerequisiteinstallerfilesSynchronization.msi /AppFabric:prerequisiteinstallerfilesWindowsServerAppFabricSetup_x64.exe /IDFX11:prerequisiteinstallerfilesMicrosoftIdentityExtensions-64.msi /MSIPCClient:prerequisiteinstallerfilessetup_msipc_x64.msi /WCFDataServices:prerequisiteinstallerfilesWcfDataServices.exe /KB2671763:prerequisiteinstallerfilesAppFabric1.1-RTM-KB2671763-x64-ENU.exe

  • Anonymous
    May 10, 2015
    Thanks to much for all download links

  • Anonymous
    October 01, 2015
    Does this process work for installing sharepoint foundation 2013sp1 offline? I don't have the file PrerequisiteInstaller.exe referenced in the second powershell script.