أوامر لتثبيت برنامج MotionPro دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id ArrayNetworks.MotionPro -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ArrayNetworks.MotionPro -e --silentwinget uninstall --id ArrayNetworks.MotionPro -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i MotionPro_Windows_1.2.25.msi /qn /norestartكتابة ملف سجل
msiexec /i MotionPro_Windows_1.2.25.msi /qn /norestart /l*v "%TEMP%\motionpro-install.log"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MotionPro VPN Client
- DisplayVersion
- 9.4.0.0
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-motionpro.ps1
$url = 'https://support.arraynetworks.net/prx/001/http/supportportal.arraynetworks.net/downloads/pkg_9_4_0_505/MP_Windows_1.2.25/MotionPro_Windows_1.2.25.msi'
$sha256 = '90FEBD808A9F5AAE3A1B92F7CD7ED5BBCA98229CA47A7AA23C5FB3B12213027E'
$file = Join-Path $env:TEMP 'MotionPro_Windows_1.2.25.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