FXChainPlayerを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Akustikrausch.FXChainPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Akustikrausch.FXChainPlayer -e --silentwinget uninstall --id Akustikrausch.FXChainPlayer -e --silentインストーラー別
64ビット · EXE(Inno Setup) · 現在のユーザー · en-US
サイレントインストール
FXChainPlayer-Setup-1.6.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
FXChainPlayer-Setup-1.6.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\fxchainplayer"- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C7F84A2E-3D5B-4A1F-9E8C-FC83A9B12345}_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-fxchainplayer.ps1
$url = 'https://github.com/akustikrausch/FXChainPlayer-Releases/releases/download/v1.6.1/FXChainPlayer-Setup-1.6.1.exe'
$sha256 = '636F2330BBBA46AEE1BB6E954D13B975D2FC6D3A0A8015AA0FC3DBF7EFB83917'
$file = Join-Path $env:TEMP 'FXChainPlayer-Setup-1.6.1.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