Open WebUIを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id OpenWebUI.OpenWebUI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenWebUI.OpenWebUI -e --silentwinget uninstall --id OpenWebUI.OpenWebUI -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
open-webui-x64-setup.exe /Sインストール先を指定
open-webui-x64-setup.exe /S /D=C:\Apps\open-webui- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9ff447fd-c978-5e9a-bd5b-350e7a68afc0
ARM64 · EXE(NSIS) · 現在のユーザー
サイレントインストール
open-webui-arm64-setup.exe /Sインストール先を指定
open-webui-arm64-setup.exe /S /D=C:\Apps\open-webui- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9ff447fd-c978-5e9a-bd5b-350e7a68afc0
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-open-webui.ps1
$url = 'https://github.com/open-webui/desktop/releases/download/v0.0.20/open-webui-x64-setup.exe'
$sha256 = '916826B798F9D7F216B6DFFBE0FC265219DB397305D25E23C41126D6C6E60D11'
$file = Join-Path $env:TEMP 'open-webui-x64-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 install-open-webui.ps1
$url = 'https://github.com/open-webui/desktop/releases/download/v0.0.20/open-webui-arm64-setup.exe'
$sha256 = '9F74426D0257E96CDA32E0072D33CD9D6CA27F93396D7FCD74DF78E72F412D38'
$file = Join-Path $env:TEMP 'open-webui-arm64-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