คำสั่งสำหรับติดตั้ง SnipCommand โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id gurayyarar.SnipCommand -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gurayyarar.SnipCommand -e --silentwinget uninstall --id gurayyarar.SnipCommand -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS)
ติดตั้งแบบเงียบ
SnipCommand-0.1.0.exe /Sกำหนดโฟลเดอร์เอง
SnipCommand-0.1.0.exe /S /D=C:\Apps\snipcommandPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-snipcommand.ps1
$url = 'https://github.com/gurayyarar/SnipCommand/releases/download/v0.1.0/SnipCommand-0.1.0.exe'
$sha256 = '3E22617F2CA57E8AAB4A7C0D96BB3CAD1819D5132474234EF6B13DFB4B09961B'
$file = Join-Path $env:TEMP 'SnipCommand-0.1.0.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 '/S' -Wait