Offline Installation SharePoint 2013
In many situation you would like to do a offline installation of SharePoint 2013 or you are required to do a offline installation because you do not have a network connection on the server.
The prerequisites installer of SharePoint 2013 downloads the requirements directly of the internet. So we will have to make sure this will not be done.
But first off all we will have to install several Windows Server features. You can install these features by using the following PowerShell command:
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,Web-AppInit,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer
Note:In this PowerShell command I also included: “Web-AppInit” . This is the Application Initialization feature (This is not a prerequisites) but can come very handy for warming up your web applications (IIS 8.0 Application Initialization reduces response time for SharePoint 2013).
When this is done we can make use of the prerequisites installer that is included on the SharePoint 2013 installation drive. By supplying the executable with certain arguments it will look for the installation files on the locale drive.
Argument | Installation |
SQLNCli | Microsoft SQL Server 2008 R2 SP1 Native Client |
IDFX11 | Microsoft Identity Extensions |
IDFX | Windows Identity Foundation (KB974405) |
Sync | Microsoft Sync Framework Runtime v1.0 SP1 (x64) |
AppFabric | Windows Server AppFabric |
KB2671763 | Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763) |
MSIPCClient | Microsoft Information Protection and Control Client |
WCFDataServices | Microsoft WCF Data Services 5.0 |
WCFDataServices56 (Added in the SP1 installation) | Microsoft WCF Data Services 5.6 |
When you have downloaded the prerequisites by using the below links:
- Microsoft SQL Server 2008 R2 SP1 Native Client
- Microsoft Sync Framework Runtime v1.0 SP1 (x64)
- Windows Server AppFabric
- Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB2671763)
- Windows Identity Foundation (KB974405)
- Microsoft Identity Extensions
- Microsoft Information Protection and Control Client
- Microsoft WCF Data Services 5.0
- Microsoft WCF Data Services 5.6 (Needed when doing a SP1 installation)After downloading the file we can make use of the following command to start the offline installation of the prerequisites:
Start-Process "<path>\PrerequisiteInstaller.exe" -ArgumentList "`/SQLNCli:`"<path>\sqlncli.msi`" ` /IDFX:`"<path>\Windows6.1-KB974405-x64.msu`" ` /IDFX11:`"<path>\MicrosoftIdentityExtensions-64.msi`" ` /Sync:`"<path>\Synchronization.msi`" ` /AppFabric:`"<path>\WindowsServerAppFabricSetup_x64.exe`" ` /KB2671763:`"<path>\AppFabric1.1-RTM-KB2671763-x64-ENU.exe`" ` /MSIPCClient:`"<path>\setup_msipc_x64.msi`" ` /WCFDataServices:`"<path>\WcfDataServices.exe`" ` /WCFDataServices56:`"<path>\WcfDataServices56.exe`""
On the TechNet Download site you can also find the scripts created by “Craig Lussier” that you can use to start a offline installation. Keep in mind that these script are not for SharePoint 2013 SP1 (If you want them compatible for SP1 you will have the additional arguments).
- Download and Install SharePoint 2013 Prerequisites on Windows Server 2012