Download PreRequisites for SharePoint 2016 RTM for offline installation

This script downloads necessary prerequisites for offline/ scripted installation of SharePoint Server 2016 RTM on Windows Server 2012 R2. It uses BITS to download necessary files.

 
 
 
 
 
4.6 Star
(11)
6,961 times
Add to favorites
SharePoint
10/15/2016
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • the script can't find the given URL:
    1 Posts | Last post April 12, 2017
    • Actual paths for script:
      
      $DownloadUrls = (
                  "http://download.microsoft.com/download/4/B/1/4B1E9B0E-A4F3-4715-B417-31C82302A70A/ENU/x64/sqlncli.msi", # Microsoft SQL Server 2012 SP1 Native Client 
                  "http://download.microsoft.com/download/5/7/2/57249A3A-19D6-4901-ACCE-80924ABEB267/ENU/x64/msodbcsql.msi", #Microsoft ODBC Driver 11 for SQL Server 
                  "http://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi", # Microsoft Sync Framework Runtime v1.0 SP1 (x64)
                  "http://download.microsoft.com//download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/rtm/MicrosoftIdentityExtensions-64.msi", # Microsoft Identity Extensions
                  "http://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe", # Windows Server AppFabric 1.1 
                  "http://download.microsoft.com/download/F/1/0/F1093AF6-E797-4CA8-A9F6-FC50024B385C/AppFabric-KB3092423-x64-ENU.exe", # Cumulative Update 7 for Microsoft AppFabric 1.1 for Windows Server
                  "http://download.microsoft.com/download/3/C/F/3CF781F5-7D29-4035-9265-C34FF2369FA2/setup_msipc_x64.exe", # Microsoft Information Protection and Control Client 
                  "http://download.microsoft.com/download/1/C/A/1CAA41C7-88B9-42D6-9E11-3C655656DAB1/WcfDataServices.exe", # Microsoft WCF Data Services 5.6 
                  "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe", # Visual C++ Redistributable Package for Visual Studio 2015,
                  "http://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe",# Another visual C++ Redistributable Package for Visual Studio 2013/2012,
                  "http://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe" # .NET framework 4.6
                      ) 
  • URL of msodbcsql.msi has changed
    1 Posts | Last post February 28, 2017
    • Thank you for this great script with instructions. very useful! 
      
      the script can't find the given URL:
      
      Start-BitsTransfer : HTTP status 404: The requested URL does not exist on the server.
      In D:\icmpd\Download-SP2016-RTM-Pre-requisites-Files.ps1:51 Zeichen:17
      + ...             Start-BitsTransfer -Source $DownLoadUrl -Destination $Sha ...
      +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (:) [Start-BitsTransfer], Exception
          + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
         TransferCommand
      
      WARNUNG:  - An error occurred downloading 'msodbcsql.msi'
      DownLoadPreRequisites : System.Management.Automation.RuntimeException
      In D:\icmpd\Download-SP2016-RTM-Pre-requisites-Files.ps1:89 Zeichen:23
      +         $returncode = DownLoadPreRequisites
      +                       ~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DownLoadPreRequisites
  • Three items in download list are not required per TechNet
    3 Posts | Last post October 15, 2016
    • Per "Hardware and software requirements for SharePoint Server 2016" on TechNet, https://technet.microsoft.com/en-ca/library/cc262485(v=office.16).aspx, the following three items in your set of pre-reqs do not apply:
      * Microsoft Federation Extensions for SharePoint 3.0 (causes error in your script and abort as the download URL is not valid)
      * MMicrosoft (sp) Identity Extensions
      * Update for Microsoft .NET Framework to disable RC4 in Transport Layer Security
    • Hi John
      
      Thanks for notifying this. I have verified the same and it looks like links are changed. I'll correct the script in some time. 
    • Hi John
      
      I have modified script and uploaded the new one. Please give it a try again.
  • PowerShellScript - Setup_MSIPC_X64 - Mistake
    2 Posts | Last post May 12, 2016
    • Your script in the description has a small mistake.
      Concerning the parameter setup_msipc_x64.msi, the FileExtension has to be "exe" instead of "msi".
    • Hi Layouni
      
      Thank you for pointing it out. I have corrected it. 
  • .NET Framework Install does not work Offline
    4 Posts | Last post May 07, 2016
    • Your script preloads NDP46-KB3045560-Web.exe. But that seems a Web Installer.
      
      The Installer tries to download a file:
      
      Starting download attempt 1 of 4 for http://go.microsoft.com/fwlink/?LinkId=528235&clcid=0x409 using None
      
      Windows8.1-KB3045563-x64.msu 
      
      I installed this manually...
    • I now see it was already downloaded by the script. Somehow the installer did not pickup the msu.
    • Hi Sven
      
      Thanks for update. .NET framework 4.6 offline installer can be found at https://www.microsoft.com/en-us/download/details.aspx?id=48137 for now. I'll recheck for this behavior.
    • Hi Sven
      
      Sorry for late reply. I recheck couple of times and was unable to reproduce this behavior on my end.