All attempts to install DirectX end in failure

Anonymous
2024-07-07T21:59:19+00:00

I have been unable to play any games on Steam because as part of the installation process, they all install DirectX 9. I have done multiple clean installs of Win11, run all Steam install attempts as admin, have tried to manually install DirectX using the DXSETUP executable that comes with Steam's _commondistr package, I have tried using the webupdate utility and have downloaded and tried to install using the standalone version. All result in some variation of the same set of errors listed in the DXerror log:


[07/07/24 11:41:49] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 1094, function: CabCallback

SPFILENOTIFY\_FILEEXTRACTED: error = 13. 

[07/07/24 11:41:49] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 5689, function: DirectXUpdateInstallPlugIn

Failed API:		SetupIterateCabinet() 

Error:		(13) - The data is invalid. 

Unable to iterate through E:\SteamLibrary\steamapps\common\Zenimax Online\\_CommonRedist\DirectX\Jun2010\Apr2007\_d3dx9\_33\_x64.cab. The file may be damaged. 

[07/07/24 11:41:49] module: dsetup32(Mar 30 2011), file: dxupdate.cpp, line: 280, function: CSetup::InstallPlugIn

DirectXUpdateInstallPlugIn() failed. 

Note that leading up to this failure, ALL cabs in the download are listed as "trusted", but that the actual attempt to install them errors out on the very first one it tries to install. I've read a very large number of forum posts (both here and on various help forums) and all seem to loop in a circle for me: Download the install package and install it manually. This, obviously, doesn't work and I'm at a loss as to why this is occuring. I'll reiterate that this happens when nothing else has been installed on a new Win11 install, outside of OS, .NET and hardware driver updates. I've taken the GPU out of the machine just to see if that might be a cause, and I've attached the monitor using the motherboard's imbedded video card.

In case this helps, here are my specs:

Windows 11 (Build 22631.3810)

Intel i9-13900K

64Gb RAM

Asus ROG Maximus Hero Z790 mobo (flashed to most updated version several reinstalls ago)

Please, can someone help me because I'm kinda at my wit's end here.

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-09-02T21:37:47+00:00

    Final post: I got my replacement (though upgraded to the i9-14900kf), and am reinstalling the OS after doing some testing on the previous install. All of my install and crashing issues have gone away.

    Final suggestion: For all on this thread, if you continue to have these problems, open a support ticket with Intel, and once they acknowledge your issue, during the RMA process when they give you the option to either replace the CPU or get a refund, take the refund. You'll save weeks of your life by taking the refund and just buying a new CPU since they will continually say they are "out of stock". Be well.

    2 people found this answer helpful.
    0 comments No comments

9 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-07-09T08:27:24+00:00

    Hi, Scott Cragle!

    Welcome to the Microsoft Community!

    I will help you solve the problem together.

    Based on your description, I understand that any way you try to install DirectX has failed.

    Have you tried to download the DirectX Runtime installation package from Microsoft's official website to install it?

    If you haven't tried it yet, I think it's worth a try. Here is the download link:

    Download DirectX End-User Runtimes (June 2010) from Official Microsoft Download Center

    I hope these information can help you. If you have any questions, feel free to let me know. Tell us the results and we will get back to you as soon as possible. We look forward to hearing from you. Thank you for your understanding and support! 

    Best Regards,

    Yang.Z - MSFT | Microsoft Community Support Specialist

    0 comments No comments
  2. Anonymous
    2024-07-09T14:41:05+00:00

    Yang, thanks for the reply. However, as I note above, I have already tried:

    1. Downloading the package you note in your reply, which when run results in exactly the same set of errors as running the identical package that comes with the Steam commonredistr package.
    2. Downloading the "web" installation package, which once downloaded and run, result in the same error.
    3. Running DXDIAG, which shows no errors
    4. Running the netrepairtool, which makes some changes but still results in the DirectX errors when I run the DXsetup manually.

    Since this is consistent across multiple clean reinstalls of the OS, I have to think that there's possibly a setting or profile, or something that is resulting in the error. Note that I've seen posts where people say that they fixed it with a new CPU or motherboard, but I've run all of the utils to diagnose CPU, memory and drive issues.

    0 comments No comments
  3. Anonymous
    2024-07-15T16:31:55+00:00

    So, almost a week after my reply, NO ONE from this forum, or from Microsoft has even an inkling what may be going on? I've seen other posts where it seemed to be a CPU or motherboard problem, but how that could be the case when it is specifically, and ONLY a Microsoft application that's having issues, I can't figure out. Please, if anyone has had this problem specifically and was able to figure it out, I'd appreciate some direction.

    0 comments No comments
  4. Anonymous
    2024-07-21T19:06:53+00:00

    So I had the same issue trying to get PUBG to run. It was complaining about missing X3DAudio files and running the dxwebsetup.exe always failed by badly explained error codes.

    Anyway, the solution was to run the dxwebsetup.exe in compatibility settings. It still fails at the end of the install but atleast it seems to copy the needed files to get PUBG running.

    1. Rightclick the dxwebsetup, choose Properties
    2. Click the compatibility tab
    3. Choose to run in compatibility mode for Windows XP (Service pack 3).
    4. Click OK
    5. Run the dxwebsetup.exe again.

    To add for reference, I seem to have the same motherboard and CPU as you have. Maybe an ASUS compatibility issue somewhere.

    0 comments No comments