คำสั่งสำหรับติดตั้ง RSSH โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id shihuili1218.RSSH -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id shihuili1218.RSSH -e --silentwinget uninstall --id shihuili1218.RSSH -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
rssh-0.3.1-windows-x86_64-setup.exe /Sกำหนดโฟลเดอร์เอง
rssh-0.3.1-windows-x86_64-setup.exe /S /D=C:\Apps\rssh- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RSSH
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i rssh-0.3.1-windows-x86_64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i rssh-0.3.1-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\rssh-install.log"ถอนการติดตั้ง
msiexec /x {558E95B2-DEA1-4297-BE8D-9E2254FA1B65} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {558E95B2-DEA1-4297-BE8D-9E2254FA1B65}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{558E95B2-DEA1-4297-BE8D-9E2254FA1B65}
- UpgradeCode
- {B6C933A1-D0E0-54CF-BC3F-91434378DEF3}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-rssh.ps1
$url = 'https://github.com/rssh-org/rssh/releases/download/v0.3.1/rssh-0.3.1-windows-x86_64-setup.exe'
$sha256 = 'CC7F198864934649B7FCA787226D0937EEDBF818C643411FA1FBACBC7013AD3A'
$file = Join-Path $env:TEMP 'rssh-0.3.1-windows-x86_64-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 '/S' -Wait install-rssh.ps1
$url = 'https://github.com/rssh-org/rssh/releases/download/v0.3.1/rssh-0.3.1-windows-x86_64.msi'
$sha256 = '0E6661CFEB4AB27B8ACBD64F60E9C40D2B2E3D95CCD9A2C81C2BA64C1B494F85'
$file = Join-Path $env:TEMP 'rssh-0.3.1-windows-x86_64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait