BootStuff v6を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id BroadcastRadio.BootStuff -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BroadcastRadio.BootStuff -e --silentwinget uninstall --id BroadcastRadio.BootStuff -e --silentインストーラー別
32ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i BRBootStuff6.msi /qn /norestartログを出力
msiexec /i BRBootStuff6.msi /qn /norestart /l*v "%TEMP%\bootstuff-v6-install.log"アンインストール
msiexec /x {7635F23B-9BC0-4347-B506-1E830AC11C68} /qn /norestart- MSIプロダクトコード
- {7635F23B-9BC0-4347-B506-1E830AC11C68}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7635F23B-9BC0-4347-B506-1E830AC11C68}
- UpgradeCode
- {2AD1C8E8-C73A-4C61-9D96-B1387739B24A}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-bootstuff-v6.ps1
$url = 'https://support.broadcastradio.com/products/BootStuff/v6/v6.7.26274/BRBootStuff6.msi'
$sha256 = '4F0D806A9887B59F23E690E3312D2F5353338BCE0A95654A44AB64FB47D7550B'
$file = Join-Path $env:TEMP 'BRBootStuff6.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait