How to fix DirectX Setup “An internal system error has occurred”

The logs indicate a problem with the DirectX installer file, it may be corrupt, or I also see it seems to be stored on your Desktop, if you use OneDrive, to sync your files online, that may be causing problems with the installer.

Download a new DirectX Web installer from the Microsoft website, then move the installer into a folder that is not synced to OneDrive,, so not the Desktop, Documents or Pictures folders, then try running that new installer as Administrator.

Read more here: Source link