AI Context Builderを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id GregorDadera.AIContextBuilder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GregorDadera.AIContextBuilder -e --silentwinget uninstall --id GregorDadera.AIContextBuilder -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
AIContextBuilder-Setup-0.5.530.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTインストール先を指定
AIContextBuilder-Setup-0.5.530.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\ai-context-builder"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-ai-context-builder.ps1
$url = 'https://github.com/gregordadera/aicb-roslyn-mcp/releases/download/v0.5.530.1/AIContextBuilder-Setup-0.5.530.1.exe'
$sha256 = '4A1505C89E151759D5724FEF3790951EF55846101D25FCCCB90ADBA44A20ED27'
$file = Join-Path $env:TEMP 'AIContextBuilder-Setup-0.5.530.1.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' -Wait