DXSetup error code -9 during install

You can try installing DirectX manually and then running the installer with SKIP_DIRECTX=“1” on the command line to skip that portion of the install. See the the Answer in the following thread for more info: