Unattended Install of SharePoint 2010 Prerequisites (optionally) without an Internet Connection

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:

  • /unattended
  • /SQLNCli:"D:\MyPath\sqlncli.msi"
  • /ChartControl:"D:\MyPath\MSChart.exe"
  • /W2K8SP2:"D:\MyPath\Windows6.0-KB948465-X64.exe"
  • /NETFX35SP1:"D:\MyPath\dotnetfx35setup.exe"
  • /PowerShell:"D:\MyPath\Windows6.0-KB968930-x64.msu"
  • /KB976394:"D:\MyPath\Windows6.0-KB976394-x64.msu"
  • /KB976462:"D:\MyPath\Windows6.1-KB976462-v2-x64.msu"
  • /IDFXR2:"D:\MyPath\Windows6.1-KB974405-x64.msu"
  • /Sync:"D:\MyPath\Synchronization.msi"
  • /FilterPack:"D:\MyPath\FilterPackx64.exe"
  • /ADOMD:"D:\MyPath\SQLSERVER2008_ASADOMD10.msi"
  • /ReportingServices:"D:\MyPath\rsSharePoint.msi"
  • /Speech:"D:\MyPath\SpeechPlatformRuntime.msi"
  • /SpeechLPK:"D:\MyPath\MSSpeech_SR_en-US_TELE.msi"

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:

Error running the Prerequisite Installer with an Arguments File

This is usually indicative of two problems. Check:

  1. That you’re running the Prerequisite Installer from the folder that contains it – e.g. the root of where you copied the CD to.
  2. Each line in your PrerequisiteInstaller.Arguments.txt file has a space at the end. (Yes, flakey, I know!)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>