BlueBubblesを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id BlueBubbles.BlueBubbles -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BlueBubbles.BlueBubbles -e --silentwinget uninstall --id BlueBubbles.BlueBubbles -e --silentインストーラー別
32ビット · EXE(Inno Setup) · 現在のユーザー · en-US
サイレントインストール
bluebubbles-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
bluebubbles-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\bluebubbles"- アンインストール用レジストリキー
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6129D070-FCBC-4167-8C1F-9A4B18263EFF}_is1
32ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
bluebubbles-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
bluebubbles-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\bluebubbles"- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6129D070-FCBC-4167-8C1F-9A4B18263EFF}_is1
- インストール先フォルダー
- %ProgramFiles%\BlueBubbles
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-bluebubbles.ps1
$url = 'https://github.com/BlueBubblesApp/bluebubbles-app/releases/download/v1.15.7%2B76-desktop/bluebubbles-windows.exe'
$sha256 = '9E4DE84F6A62614D7B5747BE1B821BA1114F97A844BBF9E830C840EFC9CF0ECB'
$file = Join-Path $env:TEMP 'bluebubbles-windows.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 install-bluebubbles.ps1
$url = 'https://github.com/BlueBubblesApp/bluebubbles-app/releases/download/v1.15.7%2B76-desktop/bluebubbles-windows.exe'
$sha256 = '9E4DE84F6A62614D7B5747BE1B821BA1114F97A844BBF9E830C840EFC9CF0ECB'
$file = Join-Path $env:TEMP 'bluebubbles-windows.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