Here's a quick guide on using AutoSPSourceBuilder (https://autospsourcebuilder.codeplex.com/) to automate a SharePoint 2013 installation.
For those of you that aren't familiar with it, AutoSPSourceBuilder will download all the necessary pre-requisites, SharePoint cumulative updates, SharePoint service packs and SharePoint language packs for you into a neat “slipstreamed” package that you can use with AutoSPInstaller (http://autospinstaller.codeplex.com/).
- Download the SharePoint Server 2013 ISO package from Microsoft.
- Mount the ISO to a drive letter. In my case, I'm using an Oracle Virtualbox virtual machine although you can use Virtual CloneDrive (http://www.slysoft.com/en/virtual-clonedrive.html).
- Download the AutoSPInstaller PowerShell script from http://autospinstaller.codeplex.com/ and extract the contents to C:tempSP. This will provide the folder structure for AutoSPSourceBuilder to download the files into – this will become your ‘slipstreamed' installation package.
- Download the AutoSPSourceBuilder script from CodePlex http://autospsourcebuilder.codeplex.com/. Copy the contained scripts to C:\temp\SP\
- If you are using a corporate proxy like I am, then you'll need to modify the AutoSPSourceBuilder.ps1 script like so. Comment out the code at lines 150 and 152 in the DownloadPackage function. If you don’t, you may encounter the below error while running AutoSPSourceBuilder. In my case I also removed the ‘–ProxyList' and ‘–ProxyUsage' parameters because of a PowerShell version compatibility issue.
- Open PowerShell with elevated privileges (i.e. admin rights)
- Navigate to the script location ‘C:\temp\SP\'
- Execute the below PowerShell command. If using a proxy, you'll be prompted for your network credentials, this is required to download the required files from the Internet.
./AutoSPSourceBuilder.ps1 -Destination "C:/temp/SP" -GetPrerequisites $true
- You'll be prompted to enter the Cumulative Update to install. This corresponds to the list of updates AutoSPSourceBuilder.xml file. In my case I entered “November 2014”.
- At this point, the script will start download the pre-requisites, SharePoint cumulative updates, SharePoint service packs and SharePoint language packs for you.
- Once the script completes, your slipstreamed package (in C:\temp\SP\) is ready to be installed using AutoSPInstaller.
- How To: Clone GIT Repo Using Personal Access Token - 12th October 2020
- Fixed: Windows 10 Search Crashing - 1st September 2020
- Fixed: SPFx Web Part Long Load Time - 25th August 2020