Microsoft Edge Devを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Microsoft.Edge.Dev -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Edge.Dev -e --silentwinget uninstall --id Microsoft.Edge.Dev -e --silentインストーラー別
64ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i MicrosoftEdgeDevEnterpriseX64.msi /qn /norestartログを出力
msiexec /i MicrosoftEdgeDevEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-dev-install.log"ARM64 · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i MicrosoftEdgeDevEnterpriseARM64.msi /qn /norestartログを出力
msiexec /i MicrosoftEdgeDevEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-dev-install.log"32ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i MicrosoftEdgeDevEnterpriseX86.msi /qn /norestartログを出力
msiexec /i MicrosoftEdgeDevEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-dev-install.log"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-microsoft-edge-dev.ps1
$url = 'https://download.microsoft.com/download/ac3b091d-3ccb-4ba8-9051-b24082aa36bc/MicrosoftEdgeDevEnterpriseX64.msi'
$sha256 = '4ED215595D148EACBF7E67D6EC84795E847FC4884648A849244AEC1BB4FB7BF0'
$file = Join-Path $env:TEMP 'MicrosoftEdgeDevEnterpriseX64.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-dev.ps1
$url = 'https://download.microsoft.com/download/ac3b091d-3ccb-4ba8-9051-b24082aa36bc/MicrosoftEdgeDevEnterpriseARM64.msi'
$sha256 = '0B2D9B3AF15F356ADDBE331A038372D1CD4C8599FA2F15C57666C55C5E307B87'
$file = Join-Path $env:TEMP 'MicrosoftEdgeDevEnterpriseARM64.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-dev.ps1
$url = 'https://download.microsoft.com/download/ac3b091d-3ccb-4ba8-9051-b24082aa36bc/MicrosoftEdgeDevEnterpriseX86.msi'
$sha256 = 'FAC853AE0EA114344288CF07878DDC686FC12FED1CD901DB9DD3DF4E92592705'
$file = Join-Path $env:TEMP 'MicrosoftEdgeDevEnterpriseX86.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