أوامر لتثبيت برنامج Keyguard دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id ArtemChepurnyi.Keyguard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ArtemChepurnyi.Keyguard -e --silentwinget uninstall --id ArtemChepurnyi.Keyguard -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i Keyguard-3.8.2.msi /qn /norestartكتابة ملف سجل
msiexec /i Keyguard-3.8.2.msi /qn /norestart /l*v "%TEMP%\keyguard-install.log"إلغاء التثبيت
msiexec /x {2577AAAE-FA1B-33BA-81E4-3707C18556DD} /qn /norestart- رمز منتج MSI
- {2577AAAE-FA1B-33BA-81E4-3707C18556DD}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2577AAAE-FA1B-33BA-81E4-3707C18556DD}
- UpgradeCode
- {846C6281-F349-4833-9E0E-AAE1C06006A0}
ARM64 · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i Keyguard-3.8.2-aarch64.msi /qn /norestartكتابة ملف سجل
msiexec /i Keyguard-3.8.2-aarch64.msi /qn /norestart /l*v "%TEMP%\keyguard-install.log"إلغاء التثبيت
msiexec /x {C12EC5A0-3620-4BF6-9CC7-AC59DCC24815} /qn /norestart- رمز منتج MSI
- {C12EC5A0-3620-4BF6-9CC7-AC59DCC24815}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C12EC5A0-3620-4BF6-9CC7-AC59DCC24815}
- UpgradeCode
- {846C6281-F349-4833-9E0E-AAE1C06006A0}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-keyguard.ps1
$url = 'https://github.com/AChep/keyguard-app/releases/download/r20261116/Keyguard-3.8.2.msi'
$sha256 = '3B32F929E623539911553F9ECF1EC2A0106633CB11F2784B1C48AC2382A38437'
$file = Join-Path $env:TEMP 'Keyguard-3.8.2.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 install-keyguard.ps1
$url = 'https://github.com/AChep/keyguard-app/releases/download/r20261116/Keyguard-3.8.2-aarch64.msi'
$sha256 = 'AD665CC0DB5D6A93978A0F2CB22364B7E7D9758F1348875B505045DA55EEAB1E'
$file = Join-Path $env:TEMP 'Keyguard-3.8.2-aarch64.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