FlowJoを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id FlowJo.FlowJo -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FlowJo.FlowJo -e --silentwinget uninstall --id FlowJo.FlowJo -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
FlowJo-11.2.0-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
FlowJo-11.2.0-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\flowjo"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FlowJo 11.2.0
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-flowjo.ps1
$url = 'https://downloads.bdaccessportal.com/v11/win/x64/FlowJo-11.2.0-installer.exe'
$sha256 = '4EAC8EE61481ED267BD63DE7DAF9074E90A70F680F8C6E0C52AAD9F772EBA646'
$file = Join-Path $env:TEMP 'FlowJo-11.2.0-installer.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