أوامر لتثبيت برنامج PDQ Deploy دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id PDQ.PDQDeploy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PDQ.PDQDeploy -e --silentwinget uninstall --id PDQ.PDQDeploy -e --silentحسب المثبّت
64 بت · EXE · جميع المستخدمين
التثبيت الصامت
Deploy_20.2.31.0.exe /sإلغاء التثبيت
msiexec /x {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A} /qn /norestart- رمز منتج MSI
- {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- UpgradeCode
- {6506AFD1-C396-4C93-A3EC-62EAE6EF8889}
32 بت · EXE · جميع المستخدمين
التثبيت الصامت
Deploy_20.2.31.0.exe /sإلغاء التثبيت
msiexec /x {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A} /qn /norestart- رمز منتج MSI
- {4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4F97AF4B-7E7F-4072-8BF7-5921DEA14F3A}
- UpgradeCode
- {6506AFD1-C396-4C93-A3EC-62EAE6EF8889}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-pdq-deploy.ps1
$url = 'https://services.pdq.com/download/deploy-inventory/Deploy_20.2.31.0.exe'
$sha256 = 'A1203E39E1F79D68A1FA6533A1E476CEDBAE56296CF4F3E60500DA35A7CAC7D4'
$file = Join-Path $env:TEMP 'Deploy_20.2.31.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 '/s' -Wait install-pdq-deploy.ps1
$url = 'https://services.pdq.com/download/deploy-inventory/Deploy_20.2.31.0.exe'
$sha256 = 'A1203E39E1F79D68A1FA6533A1E476CEDBAE56296CF4F3E60500DA35A7CAC7D4'
$file = Join-Path $env:TEMP 'Deploy_20.2.31.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 '/s' -Wait