DirectX for Skyrim fails to Install

I’m trying to install Skyrim SE on Steam and it says that it’s missing a DirectX file. So I run the DirectX installer and get the following error:

An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to determine problem.

The DXError.log file:

[03/03/19 17:49:44] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 2409, function: RunProcess

Failed API: CreateProcess() Error: (193) – %1 is not a valid Win32 application.

[03/03/19 17:49:44] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 3426, function: InstallEXE

RunProcess() failed.

[03/03/19 17:49:44] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 5829, function: DirectXUpdateInstallPlugIn

InstallEXE() failed.

[03/03/19 17:49:44] module: dsetup32(Mar 30 2011), file: dxupdate.cpp, line: 280, function: CSetup::InstallPlugIn

DirectXUpdateInstallPlugIn() failed.

[03/03/19 17:49:44] module: dsetup32(Mar 30 2011), file: setup.cpp, line: 1727, function: CSetup::SetupForDirectX

InstallPlugIn() failed.

This is a completely clean copy of Windows 7 x64 Professional, what do I do to make this work?

Adding voiced random encounters in Skyrim

I am wondering how I can add random events such as “College Application Denied” and “A Good Death” with the Creation Engine.

https://elderscrolls.fandom.com/wiki/Random_Encounters_(Skyrim)

I looked for tutorials on this, but couldn’t find anything specific. I used the Creation Engine to replace 3d meshes and use them as activators for some small scripts, but beyond that I didn’t do anything.