Updated script to install Exchange 2010 prerequisites

Articles in the "Install Exchange 2010 Prerequisites" series

  1. Script to install all Exchange 2010 prerequisites
  2. Exchange 2010 prerequisite installation script updated
  3. Exchange 2010 prerequisite installation script updated
  4. Updated script to install Exchange 2010 prerequisites [This article]

I have updated the script, first discussed in this post, then updated here and here, to account for new hotfixes since I last updated it.  The following is a list of changes:

  • The list of required OS hotfixes is based on this TechNet page.
  • The OS version code is less restrictive, the better to handle minor version updates that don’t change the fact that a server is R1 or R2.
  • The list of files to install uses hash tables instead of simple arrays.
  • Most of the hotfixes added require manually downloading because they require accepting a EULA or are only available through Premier or manual request from the KB article.  If one of these is not already downloaded, the script output will give the URL and then exit.  Even though the script will download missing hotfixes for you when applicable, the process will be smoother for you if you download the manual ones ahead of time.
  • Only the hotfixes for the specific version of Windows (R1, R2, Win7) are installed.  The TechNet page lists two hotfixes for Windows 7, but neither are installed on my workstation and they report they are not applicable when I attempt to install them.  Others report similar results, so I have remarked those two out.
  • Installing on R1 no longer requires the Exchange-supplied XML files for the OS features.  Like R2, the features to install are contained within the script.
  • Exchange 2010 SP2 requires that CAS has the “IIS WMI Compatibility” feature installed, so that has been added to the appropriate role selection.
  • Not listed on the TechNet page, but required for the UM role are the Unified Communications Managed API (version 2) and the Speech Server Platform Runtime.  Selecting the UM option will include installation of these.  The UC Managed API install uses a wizard because of ancillary programs that it may need to download (such as VC++ 2008 runtime), so it doesn’t support a silent install.
  • Other minor updates.

I have done limited testing with updated version, but please let me know if you have any issues so I can address them.

  Prepare-Exchange2010Install.zip (4.7 KiB)

3 thoughts on “Updated script to install Exchange 2010 prerequisites

  1. Without testing the scenario, I wonder if it is because line 52 specifies an MSU that has to be called with msiexec install of self-executing. But the two MSUs for the hotfix are for .NET 2.0 and 3.0. The one for .NET 3.5 SP1 is the executable that the first value of the hash table specifies. So, if the script downloaded the file, it was renaming an MSU to EXE and trying to run that, which won’t work. I will update the script. Let me know if NDP35SP1-KB958484-x64.exe (the real exe, not one renamed from an MSU) isn’t already in the source path so I can investigate a different cause.

  2. Pingback: Exchange 2010 Prerequisite Install Script for Windows Server 2008 SP2/R2 « Ryan's Blog

Leave a Reply

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