Download the PowerShell Scripts from the TechNet Gallery - Download and Install SharePoint 2013 Prerequisites on Windows Server 2012 The intent of these scripts is to assist those who are required to perform an 'offline' Prerequisite Installation of SharePoint 2013 on Windows Server 2012. It is also for those who wish to learn more about the Prerequisite installation process and/or perform the Prerequisite installation manually. It is intended that you execute each script in order. The reasons for breaking up the scripts into three different scripts are explained in each section below.
There are three scripts within the .zip file download:
Please read this documentation completely prior to using my scripts. There is a lot of insight into the PrerequisiteInstaller.exe process that you should know in these instructions.
NOTE THAT THESE SCRIPTS APPLY ONLY TO WINDOWS SERVER 2012. DO NOT USE THEM ON A WINDOWS SERVER 2008 R2 SP1 SERVER.
This script installs all of the necessary Windows Server 2012 Roles/Features to prepare for a SharePoint 2013 installation. This script was tested and executed on a freshly installed Windows 2012 server after the adding it to my domain and configuring the network adapter with a static IP address. Note that the Roles/Features installed are exactly the same ones Microsoft uses in their Prerequisite install app (in fact, in the same order they execute the Add-WindowsFeature cmdlet). This scripts supports installing the Roles/Features 'Online' with an Internet connection and 'Offline' without an Internet connection.
Windows Server 2012 Environment Assumptions:
This script assumes (and does not check) that the following Windows Server 2012 Features are installed (they should installed be by default in Windows Server 2012):
Please be sure that the RTM versions (i.e. no CTP versions) are installed in your environment prior to running this script.
Are you installing the Roles/Features 'Online' or 'Offline'?
Why did I write this script?
Procedure:
This script downloads the ENGLISH versions of the required Prerequisite files for SharePoint 2013 on Windows Server 2012. It stores them in a directory of your choosing.
This script utilizes the PrerequisiteInstaller.exe included in the SharePoint 2013 installation media to install the necessary prerequisites for SharePoint 2013 on Windows Server 2012.
Assumptions:
You have downloaded the SharePoint 2013 installation media from MSDN, TechNet or Volume Licensing/Software Assurance etc.
Notes:
There are two different scenarios for how you can use this script
Procedure - Scenario 1:
Procedure - Scenario 2:
Gokan Ozcifci edited Revision 10. Comment: Toc again, it's not working
Gokan Ozcifci edited Revision 9. Comment: toc and title
Carsten Siemens edited Revision 8. Comment: Fixed misspellings and added tag: has comment
Craig Lussier edited Revision 7. Comment: modified link text
Craig Lussier edited Revision 6. Comment: modified page title - removed /
Craig Lussier edited Revision 5. Comment: added text
Craig Lussier edited Revision 4. Comment: updated text as the script was updated.
Craig Lussier edited Revision 3. Comment: removed toc - not working correctly
Craig Lussier edited Original. Comment: added toc
Great Work !