Ordres per instal·lar MotionPro sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
winget install --id ArrayNetworks.MotionPro -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ArrayNetworks.MotionPro -e --silentwinget uninstall --id ArrayNetworks.MotionPro -e --silentPer instal·lador
64 bits · MSI · en-US
msiexec /i MotionPro_Windows_1.2.25.msi /qn /norestartmsiexec /i MotionPro_Windows_1.2.25.msi /qn /norestart /l*v "%TEMP%\motionpro-install.log"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MotionPro VPN Client
- DisplayVersion
- 9.4.0.0
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$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