熱門: 資料更新於2026年12月2日

軟體分類

網路軟體1,441
通訊社群331
影音軟體946
繪圖與影像574
辦公軟體1,197
開發工具3,317
AI工具625
安全與隱私418
系統工具3,234
遊戲548
教育與科學243
網路與IT297

DirectX End-User Runtime Installer靜默安裝與解除安裝參數

會安裝許多執行階段程式庫,包括某些使用 D3DX9、D3DX10、D3DX11、XAudio 2.7、XInput 1.3、XACT 和 (或) Managed DirectX 1.1 的遊戲所適用的舊版 DirectX SDK 中的程式庫。

免互動安裝DirectX End-User Runtime Installer、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id Microsoft.DirectX -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Microsoft.DirectX -e --silent
winget uninstall --id Microsoft.DirectX -e --silent

依安裝檔

64位元 · EXE

靜默安裝dxwebsetup.exe /Q

64位元 · MSIX

靜默安裝Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x64.appx
解除安裝Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage

32位元 · MSIX

靜默安裝Add-AppxPackage -Path UAPSignedBinary_Microsoft.DirectX.x86.appx
解除安裝Get-AppxPackage -Name Microsoft.DirectXRuntime | Remove-AppxPackage

32位元 · EXE

靜默安裝dxwebsetup.exe /Q

不限架構 · EXE

靜默安裝dxwebsetup.exe /Q

PowerShell:下載、驗證、安裝

下載官方檔案,驗證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

電腦遊戲熱門排行

查看全部
  1. OpenTTD電腦遊戲 · OpenTTD
  2. RetroArch電腦遊戲 · Libretro
  3. Steam電腦遊戲 · Valve Corporation
  4. Celestia電腦遊戲 · Celestia Development Team
  5. PPSSPP電腦遊戲 · PPSSPP Project
  6. ScummVM電腦遊戲 · The ScummVM Team
  7. MAME電腦遊戲 · MAMEdev
  8. Playnite電腦遊戲 · Josef Nemec
  9. Stockfish電腦遊戲 · Stockfish
  10. SuperTuxKart電腦遊戲 · SuperTuxKart Team

Microsoft Corporation的其他軟體

查看全部
  • PowerShell終端機與命令列 · Microsoft Corporation
  • PowerToys系統美化 · Microsoft Corporation
  • NuGet套件管理與軟體更新 · Microsoft Corporation
  • Microsoft Azure CLI終端機與命令列 · Microsoft Corporation
  • OpenSSH PreviewFTP與檔案傳輸 · Microsoft Corporation
  • Bicep CLI程式語言與SDK · Microsoft Corporation

標籤

分享