Not all servers have Internet access, and usually you want to script the installation of a SharePoint server. For these reasons, you can drive the Prerequisite Installer (prerequisitesinstaller.exe) from the command line or via an arguments file, and tell it the location of each of the prerequisites from a place where you have already downloaded them.
Using it from the command line is pretty straightforward. You can pass in each of the following switches and then the location to the downloaded setup package:
Full instructions are available on TechNet, but as always there are some gotchas. If you get the following error when you run the Prerequisite Installer:
This is usually indicative of two problems. Check:
- That you’re running the Prerequisite Installer from the folder that contains it – e.g. the root of where you copied the CD to.
- Each line in your PrerequisiteInstaller.Arguments.txt file has a space at the end. (Yes, flakey, I know!)