Unattended install of SharePoint 2010 prerequisites

by ravikanthchaganti on November 19, 2009
3,026 Views

First, SharePoint 2010 beta is out there for general public. You can download your copy at http://sharepoint2010.microsoft.com/try-it/Pages/Trial.aspx

You can find a complete list of software requirements to install SharePoint 2010 roles @ http://technet.microsoft.com/en-us/library/cc262485(office.14).aspx#section3

Here are the requirements for installing 2010 on a web-front end server in a server farm

Software Requirements

Software Requirements

SharePoint 2010 prerequisite installer can download these from the Internet provided the system has a connection open to Internet. You can also download each of these components youself and install them manually. You can download them at http://technet.microsoft.com/en-us/library/cc262485(office.14).aspx#section4

That is a pretty big list..huh.! Now the issue is, I need to deploy SharePoint 2010 on multiple servers and virtual machines. Again, this on a repeated basis. I cannot sit at each server and install all of these bits manually. Also, none of these physical servers or virtual machines will have access to Internet so that SharePoint setup can download them off Internet.

Fortunately, SharePoint 2010 provides a way to perform unattended install of these prerequisites. For this you need to extract the setup package to a temporary location first. There is a small application — PrerequisiteInstaller.exe —  within the SharePoint 2010 package. This application supports a bunch of command-line arguments you can use to install the prerequites from the command-line. You can look at the supported command-line options by running the following at the command prompt

PrerequisiteInstaller.exe /?

When you run PrerequisiteInstaller.exe with no command-line options, first thing it does is to check for the existence of PrerequisiteInstaller.Arguments.txt. This file must contain valid command-line options required by the pre-req installer.

To peform the unattended install of prerequisites, 

  1. Extract the SharePoint 2010 files using OfficeServer.exe /Extract:C:\SharePoint2010
    Note:
    If you are using the MSDN/TechNet download, EXE file name may be different
  2. Download the prerequisite software from http://technet.microsoft.com/en-us/library/cc262485(office.14).aspx#section4
  3. Copy all the prerequisites to C:\SharePoint2010\PrerequisiteFiles folder
  4. Open Notepad.exe and copy the below content without line breaks (make sure you insert a space between the arguments) and save it to C:\SharePoint2010\PrerequisiteInstaller.Arguments.txt.
    /Unattended
    /SQLNCli:PrerequisiteInstallerFiles\sqlncli.msi
    /ChartControl:PrerequisiteInstallerFiles\MSChart.exe
    /IDFX:PrerequisiteInstallerFiles\MicrosoftGenevaFramework.amd64.msi
    /Sync:PrerequisiteInstallerFiles\Synchronization.msi
    /FilterPack:PrerequisiteInstallerFiles\FilterPackx64.exe
    /ADOMD:PrerequisiteInstallerFiles\ADONETDataServices_v15_CTP2_RuntimeOnly.exe
  5. Now double-click on PrerequisiteInstaller.exe inside the C:\SharePoint2010 folder
  6. All of the prerequisites will be installed silently

I generally use this extracted folder for all my installs instead of using officeserver.exe binary. If you need to perform these installs again and again, you may want to preseve a copy of C:\SharePoint2010 folder.

In the next post, I will talk about a complete unattend install of SharePoint Web and application Server roles. Stay Tuned.

Related Posts

{ 4 comments… read them below or add one }

Richard December 8, 2009 at 3:44 am

Which of the the 2010 Prerequisites also need to be installed on a stand-a-lone Database Server running Windows Server 2008 R2 & SQL Server 2008 SP1 that will be used in the SharePoint 2010 Farm?

ravikanthchaganti December 8, 2009 at 7:43 am

You need to install http://support.microsoft.com/default.aspx/kb/970315
This is SQL 2008 SP1 CUP2. This needs to be installed before running the SP2010 Configuration Wizard.

Richard December 8, 2009 at 9:54 pm

Thank you for the response. My DBA asked if she can install SQL Cumulative update package 3 after SQL Cumulative update package 2 and only after I have run the SharePoint Configuration wizard?

ravikanthchaganti December 9, 2009 at 7:11 am

No. You need to run the CUP2 or CUP3 before running SharePoint Configuration Wizard. In fact, the configuration wizard won’t event run if it detects that CUP2 or CUP3 is not installed.

{ 2 trackbacks }

Leave a Comment

Previous post:

Next post: