ProxyBridgeを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id InterceptSuite.ProxyBridge -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id InterceptSuite.ProxyBridge -e --silentwinget uninstall --id InterceptSuite.ProxyBridge -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
ProxyBridge-Setup-4.3.0.exe /Sインストール先を指定
ProxyBridge-Setup-4.3.0.exe /S /D=C:\Apps\proxybridge- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ProxyBridge
- インストール先フォルダー
- %ProgramFiles%\ProxyBridge
- DisplayVersion
- 4.3.0
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-proxybridge.ps1
$url = 'https://github.com/InterceptSuite/ProxyBridge/releases/download/v4.3.0_Windows/ProxyBridge-Setup-4.3.0.exe'
$sha256 = '64992B813E4B406466540F7CC01332EF90FFE3B234719694347175FD85A3F1F9'
$file = Join-Path $env:TEMP 'ProxyBridge-Setup-4.3.0.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait