คำสั่งสำหรับติดตั้ง Windows App Runtime โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Microsoft.WindowsAppRuntime.1.4 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.WindowsAppRuntime.1.4 -e --silentwinget uninstall --id Microsoft.WindowsAppRuntime.1.4 -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE
ติดตั้งแบบเงียบ
windowsappruntimeinstall-x64.exe --quietARM64 · EXE
ติดตั้งแบบเงียบ
windowsappruntimeinstall-arm64.exe --quiet32 บิต · EXE
ติดตั้งแบบเงียบ
windowsappruntimeinstall-x86.exe --quietPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-windows-app-runtime.ps1
$url = 'https://aka.ms/windowsappsdk/1.4/1.4.240802001/windowsappruntimeinstall-x64.exe'
$sha256 = '3EC86FC53D7C67B720507F2040F12A776798D99D15745E78A068733C9ECB3D8C'
$file = Join-Path $env:TEMP 'windowsappruntimeinstall-x64.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 '--quiet' -Wait install-windows-app-runtime.ps1
$url = 'https://aka.ms/windowsappsdk/1.4/1.4.240802001/windowsappruntimeinstall-arm64.exe'
$sha256 = '0C45A5DC870AAEBAD89A513B63C2447B8EEC97224B8CBD14624EC09564AD0801'
$file = Join-Path $env:TEMP 'windowsappruntimeinstall-arm64.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 '--quiet' -Wait install-windows-app-runtime.ps1
$url = 'https://aka.ms/windowsappsdk/1.4/1.4.240802001/windowsappruntimeinstall-x86.exe'
$sha256 = '0BE14ED31769CD2A3558BF97CD4D0A60598E0C1760DB69278CBE7D1764B10759'
$file = Join-Path $env:TEMP 'windowsappruntimeinstall-x86.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 '--quiet' -Wait