أوامر لتثبيت برنامج HashHash دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id RussellBanks.HashHash -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RussellBanks.HashHash -e --silentwinget uninstall --id RussellBanks.HashHash -e --silentحسب المثبّت
64 بت · EXE (WiX Burn) · جميع المستخدمين
التثبيت الصامت
HashHash-1.12.0.exe /quiet /norestart64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i HashHash-1.12.0.msi /qn /norestartكتابة ملف سجل
msiexec /i HashHash-1.12.0.msi /qn /norestart /l*v "%TEMP%\hashhash-install.log"إلغاء التثبيت
msiexec /x {E08C7511-E56F-34F3-8C89-B5530C99076C} /qn /norestart- رمز منتج MSI
- {E08C7511-E56F-34F3-8C89-B5530C99076C}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E08C7511-E56F-34F3-8C89-B5530C99076C}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-hashhash.ps1
$url = 'https://github.com/russellbanks/HashHash/releases/download/v1.12.0/HashHash-1.12.0.exe'
$sha256 = 'DC4802461F6E9C14CD6332357955B388A6EADF84353D319AE69591583511EFE4'
$file = Join-Path $env:TEMP 'HashHash-1.12.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 '/quiet /norestart' -Wait install-hashhash.ps1
$url = 'https://github.com/russellbanks/HashHash/releases/download/v1.12.0/HashHash-1.12.0.msi'
$sha256 = '191A165A587393C19AF47F397C43622E93245C1D1BDA558C0FA411FFB2AEEA20'
$file = Join-Path $env:TEMP 'HashHash-1.12.0.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