Installing SharePoint 2010 prerequisites offline

When you want to install SharePoint (Foundation) 2010, the first thing you have to do is install the prerequisites required to successfully complete your installation and run SharePoint. One of the annoying things about the prerequisite installation procedure is the fact that your machine does need internet access. In many cases, that’s no problem. But there are some cases where it’s impossible (due company/network restrictions) to have internet access on the machine where you want to install SharePoint.

There is a solution where you can install the prerequisites in an offline mode. In this post, I’ll explain each step how you can install SharePoint (Foundation) 2010 without an internet connection

1. Download and extract your SharePoint Installer

  • The first step is to download SharePoint 2010 using an internet connected machine. You can download this using your MSDN subscription or using this link (for SharePoint Foundation 2010).
  • Once your download is finished, go to the ‘C:\’ drive of your SharePoint machine, and create a new folder. Let’s call this folder ‘SharePointFiles‘.
  • Copy/Paste your downloaded exe in this folder.
  • Open a command line prompt and navigate to this folder ‘cd c:\SharePointFiles
  • In the cmd, enter SharePointFoundation /extract:c:\SharePointFiles (the first term is the name of the downloaded exe, in my case the SP Foundation 2010 one)
  • The command in the previous step will extract everything to your folder ‘c:\SharePointFiles
  • Now you should also see the executable: PrerequisiteInstaller.exe which will allow us to install the prerequisites.

2. Download your prerequisites

3. Create a PrerequisiteInstaller.Arguments file

  • The next step is to create a PrerequisiteInstaller.Arguments.txt file in the SharePointFiles folder. This file will contain arguments, which will be used by the PrerequisiteInstaller executable.
  • Each component required by the PrerequisiteInstaller will have its own argument. This argument has a name, and a location where the installer can be found. In our case, we will create a list of arguments for all required components combined with the location of that particular installer.
  • To get a list of all prerequisite arguments, you can type ‘PrerequisiteInstaller /?‘. This will give you a popup with a list of the prequisites
  • In the PrerequisiteInstaller.Arguments.txt file, add the following commands: (All in one line, with only a space between each separate argument)
    • /Unattended /IDFXR2:C:\SharePointFiles\PrerequisiteInstallerFiles\Windows6.1-KB974405-x64.msu /SQLnCli:C:\SharePointFiles\PrerequisiteInstallerFiles\sqlncli.msi /ChartControl:C:\SharePointFiles\PrerequisiteInstallerFiles\MSChart.exe /Sync:C:\SharePointFiles\PrerequisiteInstallerFiles\Synchronization.msi /adomd:C:\SharePointFiles\PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi /Speech:C:\SharePointFiles\PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi /SpeechLPK:C:\SharePointFiles\PrerequisiteInstallerFiles\MSSpeech_SR_en-US_TELE.msi /ReportingServices:C:\SharePointFiles\PrerequisiteInstallerFiles\rsSharePoint.msi
  • Note: Because I’m on a 2008R2 machine, I use the arugment ‘IDFXR2’ instead of ‘IDFX’. Be sure to change this if you’re on a 2008 machine!

4. Run the prerequisites installer

  • The only step left is to install the prerequisites.
  • You can run ‘PrerequisiteInstaller.exe’ manually by double-clicking on it, or using the command line
  • Because the file PrerequisiteInstaller.Arguments.txt is in the same directory, the installer will use this file for its own arguments and thus install the prerequisites in an offline mode.
  • You’re done!

5. Troubleshooting

  • It can be possible (like it was in my case) that the installation using PrerequisiteInstaller.exe did not complete. In my case, it was because there were some arguments missing in my arguments file.
  • There are log-files available who can tell you what went wrong. You can find this log-files in folder: ‘C:\Users\{user}\AppData\Local\Temp
  • The file is called something like  ‘PrerequisiteInstaller.2012.02.15.log

My Prerequisites in a zip file: here
My PrerequisiteInstaller.Arguments.txt: here

Thanks for reading!

Written by
Alexander Vanwynsberghe
Join the discussion


Alexander Vanwynsberghe

Belgium-based entrepreneur. Into technology, innovation and a bit of cycling and running too. Evangelist for everything related to smart-tech.