Utaformatixを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id oxygendioxide.utaformatix -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id oxygendioxide.utaformatix -e --silentwinget uninstall --id oxygendioxide.utaformatix -e --silentインストーラー別
64ビット · EXE
サイレントインストール
UtaFormatix-3.6-win32-x64.exe -y -o".\utaformatix"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-utaformatix.ps1
$url = 'https://github.com/oxygen-dioxide/utaformatix-electron/releases/download/3.6/UtaFormatix-3.6-win32-x64.exe'
$sha256 = '58565E5EA0869370F53BA061BC5A01300D2EBAC0D7A3088C880ECF45DA07B115'
$file = Join-Path $env:TEMP 'UtaFormatix-3.6-win32-x64.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 '-y -o".\utaformatix"' -Wait