คำสั่งสำหรับติดตั้ง Afformation Requester โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Xanthus58.AfformationRequester -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Xanthus58.AfformationRequester -e --silentwinget uninstall --id Xanthus58.AfformationRequester -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup)
ติดตั้งแบบเงียบ
AfformationRequester.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
AfformationRequester.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\afformation-requester"PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-afformation-requester.ps1
$url = 'https://github.com/Xanthus58/Affirmation-Requester/releases/download/2.2/AfformationRequester.exe'
$sha256 = '5E91C9DCD1554F4AD158623A6B746F0D1EFAFD80FB6A90BB067735A489F94084'
$file = Join-Path $env:TEMP 'AfformationRequester.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait