espressoFlowを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id EspressoDisplays.espressoFlow -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EspressoDisplays.espressoFlow -e --silentwinget uninstall --id EspressoDisplays.espressoFlow -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
"espressoFlow Setup 3.1.4.exe" /Sインストール先を指定
"espressoFlow Setup 3.1.4.exe" /S /D=C:\Apps\espressoflow- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\31ee934c-2816-5b4b-a54d-e5ccc07dd702
- インストール先フォルダー
- %ProgramFiles%\espressoFlow
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-espressoflow.ps1
$url = 'https://espressodownloads.blob.core.windows.net/espressoflowdownloads/espressoFlow%20Setup%203.1.4.exe'
$sha256 = '369D69D38B9EF196D08D0B95D2BC71891E3BCB7E49358B5FE3D391BAB4332DB4'
$file = Join-Path $env:TEMP 'espressoFlow Setup 3.1.4.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