[SOLVED] How do I use NTLite to install DirectX?

RobertX

Member
Messages
66
Reaction score
4
So far, I've been using the Post Install feature to install singular files like Visual C++ Runtime Libraries and Java.

For installations that involve multiple files like DirectX, how do I go about installing it?
 
I specified the path to the .exe in the Post-Setup command, pointing to the DirectX directory (a drive other than C).
I assume it should work with the DirectX "archive," which will copy the archive into the Post-Setup (never tried it).
 
Code:
winget install Microsoft.DirectX --accept-package-agreements --accept-source-agreements
 
W10/11 already include the DX12 run-time libraries. If you need the legacy DX10, then download the offline (not web setup) installer.
DirectX End-User Runtimes (June 2010)

directx_Jun2010_redist.exe /silent

Checking the winget Repository (on GitHub), the Microsoft.DirectX package is the web setup version of DX9. For unattended installs, it's better not to depend on web setup clients because MS can change or remove it on their end.
 
Sorry for not providing an update.

I tried garlin's method and it didn't work.

For one thing, the /silent parameter was incorrect, it was /Q, but even so the program still asked me to extract the files.

I guess I should have communicated what I wanted to do, and I apologise that I didn't do such a thing. I want NTLite to perform a silent installation of DirectX 9.0c. Again, sorry.

Now, would the updates section help with such an endeavour?
 
NTLite considers Updates (except for Defender files) as any package that can be integrated using DISM calls. DX9 Setup runs as a file installer, and doesn't fall in that category.

abbodi has released DX9 in .WA format, which is a different kind of archive format for applying the extracted install files to a mounted image and updating the registry.

Unfortunately, NTLite doesn't officially support .WA format. There's a way to integrate .WA files within NTLite, but it's requires manual editing of the preset file. It's also dependent on applying another Update file of any other type to kick off the integration commands.

Integrate .WA files made by abbodi1406
 
OK, I feel stupid, but is "Integrate" under "Registry?"

I ask because of the REG file.

Normally, you would add a REG file under the Registry option.
 
Correct. .WA archive decomposes into a set of folders which get XCOPY'ed to different target paths on the mounted image, and a set of reg files which are integrated from the Registry screen.
 
OK, I just resorted to just use SetupComplete.cmd to install it.

Thanks to all who offered to help. Learned something every day.
 
Back
Top