Pexipを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリと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