Deploy Microsoft SharePoint 2010

Version 1

    Using BSA to deploy MS SharePoint 2010 Standalone


    This guide is intended for anyone interested in deployment of MS SharePoint 2010 in a developer environment.
    The standalone installation of MS SharePoint 2010 includes MS SQL Server Express and can be installed on a server not joined to a AD Domain

    As well as the deployment of MS SharePoint 2010, the guide also includes applying the service pack(s) and cumulative updates for the product.

    Target Server Pre-Requisites

    The following pre-requisites are required before following this guide:

    1. Virtual Machine running Windows Server 2008 R2 x64
    2. Converted to a VM Template if being used via CLM
    3. Installed and Licensed RSCD Agent
    4. Following Roles have been configured on the target server:
      1. Application Server, IIS Role
    5. Following Patches and Software have been installed on the target server:
      1. Microsoft .NET Framework version 3.5 SP1
      2. SQL Server 2008 Express with SP1
      3. Microsoft Sync Framework Runtime v1.0 (x64)
      4. Microsoft Filter Pack 2.0
      5. Microsoft Chart Controls for the Microsoft .NET Framework 3.5
      6. Windows PowerShell 2.0
      7. SQL Server 2008 Native Client
      8. Microsoft SQL Server 2008 Analysis Services ADOMD.NET
      9. ADO.NET Data Services Update for .NET Framework 3.5 SP1
      10. A hotfix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCF.
      11. Windows Identity Foundation (WIF)

    All the above software and patches can be found with the associated hyperlinks at the end of this page.

    BSA Setup and Configuration

    This section details the application configuration for the deploying MS SharePoint 2010. The version we are deploying is the Standalone version which includes the built-in SQL Server 2008 Express edition and also can be installed on a non-domain joined server.

    Software Preparation

    MS SharePoint 2010

    Ensure that you have the correct media for SharePoint 2010. This document is based on the RTM version released on 31/03/2011.
    There are 2 versions of this software, EXE and ISO. For this guide, the EXE was used as it has the capability to be extracted on the target server.
    The following software should be uploaded to the BSA Depot:


    SoftwareInstallation Parameters
    MS SharePoint 2010"??SOURCE??" /extract:<directory> /q
    MS SharePoint 2010 SP1"??SOURCE??" /log:<directory>\SP_SP1_Install.log /quiet /norestart
    MS SharePoint 2010 CU Dec 2011"??SOURCE??" /log:<directory>\SP_CU_Dec2011_Install.log /quiet /norestart

    Silent Installation File

    MS SharePoint 2010 can be silently installed for a number of tasks using predefined XML configuration files. The templates of these are actually included with the media and need to be configured.
    For this deployment, we will use the Config.xml file as follows:


    <Package Id="sts">

    <Setting Id="LAUNCHEDFROMSETUPSTS" Value="Yes"/>


    <Package Id="spswfe">

    <Setting Id="SETUPCALLED" Value="1"/>


    <INSTALLLOCATION Value="D:\Program Files" />

    <Logging Type="verbose" Path="%temp%" Template="SharePoint Server Setup(*y) .log"/>

    <PIDKEY Value="<ENTER PID HERE>" />

    <Display Level="none" CompletionNotice="no" />

    <Setting Id="SERVERROLE" Value="SINGLESERVER"/>

    <Setting Id="USINGUIINSTALLMODE" Value="0"/>

    <Setting Id="SETUP_REBOOT" Value="Never" />

    <Setting Id="SETUPTYPE" Value="CLEAN_INSTALL"/>


    The PID key for MS SharePoint needs to be completed in the highlighted area above and then the file will need to be uploaded to the BSA Application Server.

    Server Reboot Script

    As the installation will require reboots at various points, a server reboot script which is available on the BMC Global Services wiki can be used to initiate the reboot and wait for the RSCD agent to respond before allowing additional jobs to run as part of a batch job.

    BSA Configuration


    Now all the files are available in the Depot, the BLPackage can be created as follows:


    Change the location of the config.xml file to extract to the root directory where the SharePoint files will be extracted to.
    For the external command, Install SharePoint 2010 in silent mode, use the following:

    cmd /c "<directory>\setup.exe /config <directory>\config.xml"

    Set the ActionOnFailure to ignore as SharePoint sends a false-positive at the end of its installation that there has been a failure (Error -4001)

    BSA Jobs

    Now that the software and BLPackage has been created, you need to create the deploy jobs for each one. Additionally create an NSH Script Job for the server reboot script.

    Next create a Batch Job and configure as in the image below:


    The reason for the reboot at the start of the batch job was to ensure that there were no pending reboot flags in the registry.
    Ensure that the execution options are set to Execute jobs sequentially.

    SharePoint Pre-Requisite Files

    The following lists the filenames, the file and link for the pre-requisites for MS SharePoint 2010 as found in Pre-Requisites section above.


    SoftwareFile NameLink
    Microsoft .NET Framework version 3.5 SP1Dotnetfx35.exe
    Microsoft Sync Framework Runtime v1.0 (x64)Synchronization.msi
    Microsoft Filter Pack 2.0FilterPackx64.exeAlready available on the SharePoint 2010 media under <root>\PrerequisiteInstallerFiles\FilterPack
    Microsoft Chart Controls for the Microsoft .NET Framework 3.5 SP1MSChart.exe
    SQL Server Native ClientSqlncli.msi
    SQL Server 2008 R2 Reporting Services Add-In for Microsoft SharePoint Technologies 2010rsSharePoint.msi
    Microsoft SQL Server 2008 Analysis Services ADOMD.NETSQLSERVER2008_ASADOMMD10.msi
    ADO.NET Data Services Update for .NET Framework 3.5 SP1Windows6.1-KB982307-x64.msu
    Hotfix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCFWindows6.1-KB976462-v2-x64.msy
    Windows Identity Foundation (WIF)Windows6.1-KB974405-x64.msu
    Microsoft Server Speech PlatformSpeechPlatformRuntime.msi
    Speech Recognition language for EnglishMSSpeech_SR_en-US_TELE.msi
    KB979917 – QFE for SharePoint issuesWindows6.1-KB979917-x64.msu