คำสั่งสำหรับติดตั้ง WinGPG โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Scand.WinGPG -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Scand.WinGPG -e --silentwinget uninstall --id Scand.WinGPG -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
WinGPG-2.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
WinGPG-2.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\wingpg"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinGPG_is1
32 บิต · EXE (Inno Setup) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
WinGPG-2.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
WinGPG-2.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\wingpg"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WinGPG_is1
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-wingpg.ps1
$url = 'https://s3.us-east-1.amazonaws.com/assets.scand.com/WinGPG/WinGPG-2.0-setup.exe'
$sha256 = 'AB010F160446052E7A9504828028F46C4BEE68D22510D3513F44A06E863975E6'
$file = Join-Path $env:TEMP 'WinGPG-2.0-setup.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 install-wingpg.ps1
$url = 'https://s3.us-east-1.amazonaws.com/assets.scand.com/WinGPG/WinGPG-2.0-setup.exe'
$sha256 = 'AB010F160446052E7A9504828028F46C4BEE68D22510D3513F44A06E863975E6'
$file = Join-Path $env:TEMP 'WinGPG-2.0-setup.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