Closed thisislj closed 3 years ago
Sadly, the _directx_Jun2010redist.exe was part of the removal of SHA-1-signed content.
The winetricks resolution is to pull from a mirror, and validate the file with a checksum before running it. That should be doable here, since PowerShell can do the checksumming, I believe, but we'll need to get the checksum from either trusting winetricks's SHA256 value or some other existing source, or someone checksumming a known-good installer in an existing prereqs image's layer.
I've just attempted to reproduce this issue, but everything seems to work correctly and the required DLL files are extracted successfully. Manually downloading and inspecting directx_Jun2010_redist.exe on the host system, I can see that its size is reported as 95.6 MB (100,275,120 bytes)
and it includes a SHA-256 digital signature from Microsoft Corporation dated Thursday, 18 February 2021 7:01:21 AM
. Presumably Microsoft realised that they had caused problems for software that relied on the DirectX redistributable package and re-signed it to fix the issue.
Yeah, makes sense. https://www.microsoft.com/en-us/download/details.aspx?id=8109 is back, and shows a published date of 20th February 2021, version 9.29.1974.1. At the time of my last comment, this link was redirecting to https://www.microsoft.com/en-us/download/404Error.aspx, and the package wasn't showing up in MS's site-search at all. The previous version was showing a published date of 18th April 2011, version 9.29.1974.
So they must have just republished it this last weekend. I'm not seeing this picked up by "news" sites that were carrying the removal story yet.
Side-trivia, it looks like they also republished/resigned the relevant DirectX June2010 SDK, but not the DirectX 9.0c End-User Runtime. The latter makes sense, as that was only needed by Windows XP or older, later versions included the DirectX runtime as an OS component.
Output of the
ue4-docker info
command:Additional details:
Problem description: ue4-docke build failed due to being unable to run downloaded
%TEMP%\directx_redist.exe
It reportedThe system cannot execute the specified program.
It seems to me that the directx redist has been removed by Microsoft. So
https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
is no longer available. The curl command that downloads it didn't report error, so when we tried to execute the redist exe, it reported this unhelpful "The system cannot execute the specified program."Output of ue4-docker build