ShP 2013 – Slipstreaming of CUs and ShP13 installation media
SharePoint can currently be downloaded from the MSDN in version 2013 SP1. If you need to automatically apply any of cumulative updates, you need to either update the install, or connect it directly to the installation media and let the installer so that this cumulative update automatically installed. If you download the .iso file and attach it, it can be detected with PowerShell which incremental updates can be applied to the installer.
But first of all make sure that you can run PowerShell commands. Open PowerShell console as an administrator and type:
If you set up a policy starting PowerShell comandlets as Restricted, you need to allow this boot. To do this, the following PowerShell command:
Then you can use another PowerShell commands so that you can find out what version of the cumulative update you can download and install – it is possible to use a solution that is presented on Codeplex as AutoSPSourceBuilder. This solution can also automatically prepare the whole slipstream, however, I would like to point out and explain the whole process, which can be useful at least in cases where it is necessary to incorporate various service packs, cumulative updates and hotfixes possible remedies to these cumulative updates. So if you start solving AutoSPSourceBuilder using PowerShell (with attached media – installation of SharePoint Server 2013), you will be offered each applicable cumulative updates. With this list you can load in two ways. The first is informative – ie. we see which updates can be applied – at the same time, we see even the last one, which may want to apply to the installation media, or last, if we come up with “clear” solutions without unverified update.
Running script is shown in the following figure. What really makes – first checks the version of the installation media – what service packs and other updates contains. Subsequently, connected media is copied to the TEMP directory C: \ SP. The user selects which version of CU wants to download. This cumulative update is then downloaded to the same folder on the C drive and individual files are extracted (mostly 2 cab files and one .exe). Subsequently, these files are moved to the extracted installation media (SHP Server), which is “out of box” prepared and contain the Updates directory. Entire Directory – now already modified – was again packed into .iso file and is ready for use. By the directory contains some files, the installation wizard will automatically take these updates and these will be installed automatically during the installation.
It is appropriate to say that this procedure can be applied without the use of PowerShell. Just download the installation media, and then copy its contents to “some” directory, then download incremental updates and expand these to the directory updates. Extracting of individual files from a cumulative update can be done using command prompt as well:
Here in this case is the full name of the file that represents a service package that you want to sink into the installation media and beside the extract parameter there is the path where you want to unpack this package. Once unpacked, copy it to the directory updates in copied SharePoint 2013 installation media. Finally, it is important to say that the advantage of this manual process is possibility of full control of what you want to implement to the installation media – cumulative update, Service Packs, language packs etc.