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