ForceBindIPを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id ForceBindIP.ForceBindIP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ForceBindIP.ForceBindIP -e --silentwinget uninstall --id ForceBindIP.ForceBindIP -e --silentインストーラー別
32ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
ForceBindIP-1.32-Setup.exe /Sインストール先を指定
ForceBindIP-1.32-Setup.exe /S /D=C:\Apps\forcebindip- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ForceBindIP
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-forcebindip.ps1
$url = 'https://r1ch.net/assets/forcebindip/ForceBindIP-1.32-Setup.exe'
$sha256 = 'BDA0EE4A3843410A57FC5AB6EE6C87DE2242048483AB1E1410A4A61801EDE9F3'
$file = Join-Path $env:TEMP 'ForceBindIP-1.32-Setup.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