2013-07-03

Introduction

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

1- SP2013Prerequisite.zip

https://5i7fpg.dm1.livefilestore.com/…..

2- WorkflowManagerV1.0Offline.zip

https://7c7fpg.dm1.livefilestore.com/…..

3- OfficeToolsForVS2012RTWOffline.zip

https://5s7fpg.dm1.livefilestore.com/…..

SP2013Prerequisite package

I made this with the help of this great TechNet gallery project by (Craig Lussier)

http://gallery.technet.microsoft.com/DownloadInstall-SharePoint-e6df9eb8

So what’s in this package?

SP2013Prerequisite

– 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

SP2013PreReqFiles

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

Set-ExecutionPolicy

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

Import-Module ServerManager

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:

http://support.microsoft.com/kb/2765260

After that you will need to run the Install-SP2013PreReqFiles.ps1 at the package path

Install-SP2013PreReqFiles

prerequisiteinstaller.exe_

Then install the missing Windows Server Patch for Server 2012 or 2008 R2

Missing2012Patches

At this stage you are ready to install SP2013.

WorkflowManagerV1.0Offline

You will need this if you will install workflow in SP2013

WorkflowManagerV1.0Offline

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

WorkflowManagerV1.0Offline

After that you can configure the WorkFlow Manager

WorkflowWizard

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:

WorkflowManagerV1.0Offline\installers\WorkflowClient\183D2A27A8C3F8A261B7B8EC930EC7005D0E9FC3

Client

At the end you need to install the latest WF patches

ServiceBus-KB2799752-x64-EN.exe then install WorkflowManager-KB2799754-x64-EN.exe

WFPatches

OfficeToolsForVS2012RTWOffline

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

OfficeToolsForVS2012RTWOffline

we will open an elevated command prompt and navigate to the bin folder and run the Install.bat file

VSSPTools

Summary

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.

Original Post

http://mahmoudhamed.wordpress.com/2013/07/03/completely-offline-installation-of-sharepoint-2013/

About the author 

Mahmoud Hamed Mahmoud