FlowBenchを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id ModelScope.FlowBench -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ModelScope.FlowBench -e --silentwinget uninstall --id ModelScope.FlowBench -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
FlowBench-0.6.0-beta-20251128-1147.exe /Sインストール先を指定
FlowBench-0.6.0-beta-20251128-1147.exe /S /D=C:\Apps\flowbench- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\746944d4-4e52-5f6e-8b9e-09a634688101
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-flowbench.ps1
$url = 'https://cdn-muse-cn-1.modelscope.cn/flowbench/release/win/FlowBench-0.6.0-beta-20251128-1147.exe'
$sha256 = '46B01175EC80E2EB1CF7DC790D179D39786A645BA8BC64BA9C04598B2ACDD38E'
$file = Join-Path $env:TEMP 'FlowBench-0.6.0-beta-20251128-1147.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