Microsoft Edge Betaを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Microsoft.Edge.Beta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Edge.Beta -e --silentwinget uninstall --id Microsoft.Edge.Beta -e --silentインストーラー別
64ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i MicrosoftEdgeBetaEnterpriseX64.msi /qn /norestartログを出力
msiexec /i MicrosoftEdgeBetaEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-beta-install.log"ARM64 · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i MicrosoftEdgeBetaEnterpriseARM64.msi /qn /norestartログを出力
msiexec /i MicrosoftEdgeBetaEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-beta-install.log"32ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i MicrosoftEdgeBetaEnterpriseX86.msi /qn /norestartログを出力
msiexec /i MicrosoftEdgeBetaEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-beta-install.log"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-microsoft-edge-beta.ps1
$url = 'https://download.microsoft.com/download/1534abe1-c667-4748-b434-e1f028289a60/MicrosoftEdgeBetaEnterpriseX64.msi'
$sha256 = '67BF795A970E537AF59138D1968AEDCA21B8A42915968BE796870059046B76F3'
$file = Join-Path $env:TEMP 'MicrosoftEdgeBetaEnterpriseX64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-microsoft-edge-beta.ps1
$url = 'https://download.microsoft.com/download/1534abe1-c667-4748-b434-e1f028289a60/MicrosoftEdgeBetaEnterpriseARM64.msi'
$sha256 = '7EF143D6B264AB736D674410984495C11D588BA609D772B071D3CDC8B91FECFC'
$file = Join-Path $env:TEMP 'MicrosoftEdgeBetaEnterpriseARM64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-microsoft-edge-beta.ps1
$url = 'https://download.microsoft.com/download/1534abe1-c667-4748-b434-e1f028289a60/MicrosoftEdgeBetaEnterpriseX86.msi'
$sha256 = '79B7ED2079E2277891B7B179E5424926E3EA5F2A592478CAC94E6791A7F6D0DC'
$file = Join-Path $env:TEMP 'MicrosoftEdgeBetaEnterpriseX86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait