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