Commands for installing MotionPro without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i MotionPro_Windows_1.2.25.msi /qn /norestartWrite a log
msiexec /i MotionPro_Windows_1.2.25.msi /qn /norestart /l*v "%TEMP%\motionpro-install.log"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MotionPro VPN Client
- DisplayVersion
- 9.4.0.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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