Outdated download links in Prerequisites.json


Description

Installation of Sitecore XP using the Sitecore Installation Framework (SIF) might fail with the following error in the Windows PowerShell console and Prerequisites installation logs:

[-------- DownloadWebPlatformInstaller : DownloadFile ------------------------]
[DownloadWebPlatformInstaller]:[Download] https://download.microsoft.com/download/C/F/F/CFF3A0B8-99D4-41A2-AE1A-496C08BEB904/WebPlatformInstaller_amd64_en-US.msi => C:\Users\{Username}\AppData\Local\Temp\WebPlatformInstaller_amd64_en-US.msi
Error downloading https://download.microsoft.com/download/C/F/F/CFF3A0B8-99D4-41A2-AE1A-496C08BEB904/WebPlatformInstaller_amd64_en-US.msi: The remote server returned an error: (404) Not Found.

The issue occurs because the SIF configuration file (Prerequisites.json) contains outdated links to Microsoft Web Platform Installer 5.0, Microsoft .NET Framework 4.7.1 and Microsoft .NET Framework 4.7.2.

Solution

To resolve the issue:

  1. Open the Prerequisites.json file.
  2. Find the "DotNet471Download" section (for Sitecore XP 9.1.0–9.1.1) or the "DotNetFrameworkDownload" section (for Sitecore XP 9.2–9.3).
  3. Replace the existing download URL in the "DefaultValue" line:
    with the following URL:
  4. Save the changes.
  5. Since the Microsoft Web Platform Installer was retired, follow the instructions from KB1003017.