I am trying to place DirectX 9.0C into my Windows ISO, so I don't have to keep installing it every time I wipe with Windows. Can it be done?
Please, don't recommend AI slop here. I'm pretty sure we can think for ourselves. If you know a solution, point to it or post it here.
Is there a way to verify if DirectX 9.0c specifically has been installed? I'm not talking about dxdiag because it won't tell me. I want to run some old games and frontends like RetroArch that need it.
https://forums.mydigitallife.net/threads/repack-directx-end-user-runtime-june-2010-2025-08-03.84785/ Or you can use winget to install DirectX as well as previously exported apps. Code: winget install Microsoft.DirectX --accept-package-agreements --accept-source-agreements winget import -i D:\OneDrive\Setup\winget.txt --accept-package-agreements --accept-source-agreements
Hey @TairikuOkami , how are you doing? If you can do it earlier than me, do thank garlin in NTLite and tell him I love him and nuhi.. Only when you can beat me to it.
Here's part of my setupcomplete.cmd: Code: rem Runtimes installtion START "" /WAIT "%SystemRoot%\Setup\Runtimes\directx.exe" /ai /gm2 START "" /WAIT "%SystemRoot%\Setup\Runtimes\visualc.exe" /ai /gm2 START "" /WAIT "%SystemRoot%\Setup\Runtimes\openal.exe" /S Second* row is what you're interested in. I use abbodi's directx repack(directx.exe). Now all you have to do is create an $OEM$\$$\Setup\Scripts folder for setupcomplete.cmd and $OEM$\$$\Setup\Runtimes for the directx.exe, this is all inside iso\sources\. Here's the entire script: Code: @ECHO OFF PushD "%~dp0" rem Hibernation OFF powercfg -h off rem Desktop Icons: 0 = Show Icon / 1 = Hide Icon rem User's Files Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{59031a47-3f72-44a7-89c5-5595fe6b30ee}" /t REG_DWORD /d 0 /f >nul rem This PC/My Computer Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" /t REG_DWORD /d 0 /f >nul rem Recycle Bin (usually shown by default) Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{645FF040-5081-101B-9F08-00AA002F954E}" /t REG_DWORD /d 0 /f >nul rem Control Panel Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}" /t REG_DWORD /d 0 /f >nul rem Network Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}" /t REG_DWORD /d 1 /f >nul rem Runtimes installtion START "" /WAIT "%SystemRoot%\Setup\Runtimes\directx.exe" /ai /gm2 START "" /WAIT "%SystemRoot%\Setup\Runtimes\visualc.exe" /ai /gm2 START "" /WAIT "%SystemRoot%\Setup\Runtimes\openal.exe" /S rem SetupComplete CleanUp Reg Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\SetupComplete-CleanUp" /ve /t REG_SZ /d "SetupComplete CleanUp" /f 1>NUL Reg Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\SetupComplete-CleanUp" /v "1" /t REG_SZ /d "CMD /c RmDir /s /q \"%SystemRoot%\Setup\Runtimes\"" /f 1>NUL Reg Add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\SetupComplete-CleanUp" /v "2" /t REG_SZ /d "CMD /c RmDir /s /q \"%SystemRoot%\Setup\Scripts\"" /f 1>NUL EXIT