أوامر لتثبيت برنامج Ghostex دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id maddada.Ghostex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id maddada.Ghostex -e --silentwinget uninstall --id maddada.Ghostex -e --silentحسب المثبّت
64 بت · EXE · المستخدم الحالي
التثبيت الصامت
ghostex-10.36.0-windows-x64.exe --silent- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Ghostex
ARM64 · EXE · المستخدم الحالي
التثبيت الصامت
ghostex-10.36.0-windows-x64.exe --silent- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Ghostex
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-ghostex.ps1
$url = 'https://github.com/maddada/Ghostex/releases/download/v10.36.0/ghostex-10.36.0-windows-x64.exe'
$sha256 = 'E1811EFB5F3350BB79E494BE88DD2F3A013D6ABF83D7049959E67E36D354364D'
$file = Join-Path $env:TEMP 'ghostex-10.36.0-windows-x64.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 '--silent' -Wait install-ghostex.ps1
$url = 'https://github.com/maddada/Ghostex/releases/download/v10.36.0/ghostex-10.36.0-windows-x64.exe'
$sha256 = 'E1811EFB5F3350BB79E494BE88DD2F3A013D6ABF83D7049959E67E36D354364D'
$file = Join-Path $env:TEMP 'ghostex-10.36.0-windows-x64.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 '--silent' -Wait