DirectX End-User Runtime Installerను ఏ ప్రశ్నలూ లేకుండా ఇన్స్టాల్ చేయడానికి, మళ్లీ తీసేయడానికి, డిప్లాయ్మెంట్ టూల్స్తో గుర్తించడానికి కమాండ్లు. ఖచ్చితంగా తెలిసిన కమాండ్ మాత్రమే చూపిస్తాం: మ్యానిఫెస్ట్ నుంచి, లేదా ఇన్స్టాలర్ టెక్నాలజీ డాక్యుమెంట్ చేసిన డిఫాల్ట్ల నుంచి.
సంబంధిత గైడ్: సైలెంట్ ఇన్స్టాల్ స్విచ్లు: MSI, NSIS, Inno Setup · రిజిస్ట్రీ లేదా PowerShellతో ప్రోగ్రామ్ అన్ఇన్స్టాల్
winget ద్వారా
PowerShell
winget install --id Microsoft.DirectX -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DirectX -e --silentwinget uninstall --id Microsoft.DirectX -e --silentఇన్స్టాలర్ వారీగా
64-బిట్ · EXE
సైలెంట్ ఇన్స్టాల్
dxwebsetup.exe /Q64-బిట్ · MSIX
సైలెంట్ ఇన్స్టాల్
Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x64.appxఅన్ఇన్స్టాల్
Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage32-బిట్ · MSIX
సైలెంట్ ఇన్స్టాల్
Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x86.appxఅన్ఇన్స్టాల్
Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage32-బిట్ · EXE
సైలెంట్ ఇన్స్టాల్
dxwebsetup.exe /Qఏ CPU అయినా · EXE
సైలెంట్ ఇన్స్టాల్
dxwebsetup.exe /QPowerShell: డౌన్లోడ్, తనిఖీ, ఇన్స్టాల్
అధికారిక ఫైల్ను డౌన్లోడ్ చేసి, దాని SHA256 తనిఖీ చేసి, సైలెంట్గా ఇన్స్టాల్ చేస్తుంది.
install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe'
$sha256 = '2CF71D098C608C56E07F4655855A886C3102553F648DF88458DF616B26FD612F'
$file = Join-Path $env:TEMP 'dxwebsetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/Q' -Wait install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/c/c/2/cc291a37-2ebd-4ac2-ba5f-4c9124733bf1/UAPSignedBinary_Microsoft.DirectX.x64.appx'
$sha256 = 'A042086B3EB11F354B28D7047CE6B249BC828C0F299A7B5E54A7E0ADB112332B'
$file = Join-Path $env:TEMP 'UAPSignedBinary_Microsoft.DirectX.x64.appx'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/c/c/2/cc291a37-2ebd-4ac2-ba5f-4c9124733bf1/UAPSignedBinary_Microsoft.DirectX.x86.appx'
$sha256 = 'B4DB87C59A79E9109C2C8EC5C05855582671DC17D717C897619F786959ECDB5A'
$file = Join-Path $env:TEMP 'UAPSignedBinary_Microsoft.DirectX.x86.appx'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe'
$sha256 = '2CF71D098C608C56E07F4655855A886C3102553F648DF88458DF616B26FD612F'
$file = Join-Path $env:TEMP 'dxwebsetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/Q' -Wait install-directx-end-user-runtime-installer.ps1
$url = 'https://download.microsoft.com/download/1/7/1/1718ccc4-6315-4d8e-9543-8e28a4e18c4c/dxwebsetup.exe'
$sha256 = '2CF71D098C608C56E07F4655855A886C3102553F648DF88458DF616B26FD612F'
$file = Join-Path $env:TEMP 'dxwebsetup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/Q' -Wait