Flowifyを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Flowify.Flowify -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Flowify.Flowify -e --silentwinget uninstall --id Flowify.Flowify -e --silentインストーラー別
64ビット · EXE(NSIS) · en-US
サイレントインストール
Flowify-Setup-0.0.5.exe /Sインストール先を指定
Flowify-Setup-0.0.5.exe /S /D=C:\Apps\flowify- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\07843596-352e-5f36-b32f-faa37307a7dc
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-flowify.ps1
$url = 'https://github.com/naplon74/flowify-music-player/releases/download/v0.0.5/Flowify-Setup-0.0.5.exe'
$sha256 = '46911399381D9F788CC5EC7805423AA2FD5209D7AC03FBD624D0ABB69C07621A'
$file = Join-Path $env:TEMP 'Flowify-Setup-0.0.5.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