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.
To resolve the issue:
"DotNet471Download": { "Type": "String", "Description": "Download location of .net 4.7.1", "DefaultValue": "https://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe" }
"DotNetFrameworkDownload": { "Type": "String", "Description": "Download location of .net framework", "DefaultValue": "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" }
"DotNet471Download": { "Type": "String", "Description": "Download location of .net 4.7.1", "DefaultValue": "https://go.microsoft.com/fwlink/?LinkID=2099383" }
"DotNetFrameworkDownload": { "Type": "String", "Description": "Download location of .net framework", "DefaultValue": "https://go.microsoft.com/fwlink/?linkid=863265" }