免互動安裝Pexip、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id Pexip.Pexip.SecureMeetings -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Pexip.Pexip.SecureMeetings -e --silentwinget uninstall --id Pexip.Pexip.SecureMeetings -e --silent依安裝檔
64位元 · MSIX
靜默安裝
Add-AppxPackage -Path Pexip_2.2.1117.0.msix解除安裝
Get-AppxPackage -Name Pexip.Client.1ef4f925 | Remove-AppxPackagePowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-pexip.ps1
$url = 'https://www.pexip.com/hubfs/Pexip_2.2.1117.0.msix'
$sha256 = 'D4D177B24CAE5AA2E7851F117FB8C947FD6017C574F96BDB8742C7A3D0B4C566'
$file = Join-Path $env:TEMP 'Pexip_2.2.1117.0.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file