Edge Reset Buttonを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Greatis.EdgeResetButton -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Greatis.EdgeResetButton -e --silentwinget uninstall --id Greatis.EdgeResetButton -e --silentインストーラー別
32ビット · ZIP · すべてのユーザー · en-US
サイレントインストール
edge_reset_button_setup.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Edge Reset Button_is1
- インストール先フォルダー
- %ProgramFiles%\EdgeResetButton
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-edge-reset-button.ps1
$url = 'https://www.greatissoftware.com/edge_reset_button_setup.zip'
$sha256 = '7D1D72C31679892E76F01F415840B0BE3D59578001590EA50ADA6AC4C5633269'
$file = Join-Path $env:TEMP 'edge_reset_button_setup.zip'
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