Sometimes when we need to install SharePoint we fail due to that there is no internet connection or our servers behind a firewall and we can’t access internet. So in this blog we will see how we can do a complete SharePoint 2013 (and you can do the same with 2010) installation.
But firstly why SharePoint installation need internet ?!. It needs internet for the below items :
1- SharePoint prerequisites prerequisiteinstaller.exe
2- The missing Windows patches
3- Workflow manager
4- And if this is a Dev. environment you will also need internet for VS SharePoint tools
Download my offline packages as need in your environment
I made this with the help of this great TechNet gallery project by (Craig Lussier)
So what’s in this package?
- MissingWindowsPatches : The missing windows patches for Server 2012 and 2008 R2
– SP2013PreReqFiles: The required offline files for prerequisiteinstaller.exe and .Netframework 4.0 and Windows6.1-KB2506143-x64 (PowerShell 3) you will only need the last two at Server 2008 R2 as its installed by default on Server 2012 and you will need to install it manually on Server 2008 R2 and after that complete the steps below
Okay, as we will need to run a PowerShell file you will need to set the execution policy for your PowerShell environment.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
you also will need to use the below PowerShell script to configure your IIS manually at Windows Server 2012. Why? during the configuration the prerequisiteinstaller.exe need to download some component from framework 3.5 so this manual step overcome this
Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45 -Source D:\<Your server 2012 installation path>\Sources\sxs
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:\<Your server 2012 installation path>\Sources\sxs
and this all documented here:
After that you will need to run the Install-SP2013PreReqFiles.ps1 at the package path
Then install the missing Windows Server Patch for Server 2012 or 2008 R2
At this stage you are ready to install SP2013.
You will need this if you will install workflow in SP2013
This is the offline installation package of Web platform installer for SP WorkflowManager you just need to open an elevated command prompt and navigate to the bin folder and run the Install.bat file
After that you can configure the WorkFlow Manager
If you are installing workflow in a Multi-server farm and you need to host the workflow in its server you will need to install the workflow client on all the SP server, to get the client msi file navigate to:
At the end you need to install the latest WF patches
ServiceBus-KB2799752-x64-EN.exe then install WorkflowManager-KB2799754-x64-EN.exe
If your machine is a Dev. machine your will need the SharePoint VS tools. So after installing VS2012 and the latest Update 3 we will do exactly as we did with workflow
we will open an elevated command prompt and navigate to the bin folder and run the Install.bat file
As you can see if you follow the above steps you can install SP2013 completely with Workflow and Visual studio tools for SharePoint 2013 without internet connection.