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