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