أوامر لتثبيت برنامج phoenix-protector دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
حسب المثبّت
جميع المعالجات · MSI
التثبيت الصامت
msiexec /i Phoenix_Protector.msi /qn /norestartكتابة ملف سجل
msiexec /i Phoenix_Protector.msi /qn /norestart /l*v "%TEMP%\phoenix-protector-install.log"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-phoenix-protector.ps1
$url = 'https://ntcore.com/files/Phoenix_Protector.msi'
$sha256 = '15A7DBBF90CE66FB302A322C6809FAFD897808096069DFECEDEDF78E51B16369'
$file = Join-Path $env:TEMP 'Phoenix_Protector.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