أوامر لتثبيت برنامج RSSH دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو 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-1.0.5-windows-x86_64-setup.exe /Sمجلد مخصص
rssh-1.0.5-windows-x86_64-setup.exe /S /D=C:\Apps\rssh- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RSSH
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i rssh-1.0.5-windows-x86_64.msi /qn /norestartكتابة ملف سجل
msiexec /i rssh-1.0.5-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\rssh-install.log"إلغاء التثبيت
msiexec /x {FD8D4A83-E44B-4ACA-A9FF-68BEB740D7C4} /qn /norestart- رمز منتج MSI
- {FD8D4A83-E44B-4ACA-A9FF-68BEB740D7C4}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FD8D4A83-E44B-4ACA-A9FF-68BEB740D7C4}
- UpgradeCode
- {B6C933A1-D0E0-54CF-BC3F-91434378DEF3}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-rssh.ps1
$url = 'https://github.com/rssh-org/rssh/releases/download/v1.0.5/rssh-1.0.5-windows-x86_64-setup.exe'
$sha256 = '271BEEDC965D4C80CC461E86B13F0E44794E9DCD1A59F17473F1306A67322C86'
$file = Join-Path $env:TEMP 'rssh-1.0.5-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/v1.0.5/rssh-1.0.5-windows-x86_64.msi'
$sha256 = '3497B6B345BE0EB1A3DA5B70CCAA9B74B622929D0CFD7A7AFF533E916B453E62'
$file = Join-Path $env:TEMP 'rssh-1.0.5-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