Firefox Developer Edition (id)を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Mozilla.Firefox.DeveloperEdition.id -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Firefox.DeveloperEdition.id -e --silentwinget uninstall --id Mozilla.Firefox.DeveloperEdition.id -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
"Firefox Setup 151.0b10.exe" /S /PreventRebootRequired=trueインストール先を指定
"Firefox Setup 151.0b10.exe" /S /PreventRebootRequired=true /D=C:\Apps\firefox-developer-edition-id- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Firefox Developer Edition
ARM64 · EXE(NSIS) · すべてのユーザー
サイレントインストール
"Firefox Setup 151.0b10.exe" /S /PreventRebootRequired=trueインストール先を指定
"Firefox Setup 151.0b10.exe" /S /PreventRebootRequired=true /D=C:\Apps\firefox-developer-edition-id- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Firefox Developer Edition
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
"Firefox Setup 151.0b10.exe" /S /PreventRebootRequired=trueインストール先を指定
"Firefox Setup 151.0b10.exe" /S /PreventRebootRequired=true /D=C:\Apps\firefox-developer-edition-id- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Firefox Developer Edition
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-firefox-developer-edition-id.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/devedition/releases/151.0b10/win64/id/Firefox%20Setup%20151.0b10.exe'
$sha256 = '1BF3D085FDE8A3AF9F69110258237F99AEC5385DBB36B71982A3A3EB57A7527B'
$file = Join-Path $env:TEMP 'Firefox Setup 151.0b10.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 /PreventRebootRequired=true' -Wait install-firefox-developer-edition-id.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/devedition/releases/151.0b10/win64-aarch64/id/Firefox%20Setup%20151.0b10.exe'
$sha256 = 'D558A84E7A29A52624A108EC566BBE81A6B5446D99E618F3895C8F306A2383B2'
$file = Join-Path $env:TEMP 'Firefox Setup 151.0b10.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 /PreventRebootRequired=true' -Wait install-firefox-developer-edition-id.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/devedition/releases/151.0b10/win32/id/Firefox%20Setup%20151.0b10.exe'
$sha256 = 'B6A27A4F808CFC28E39C3A38A600892591D63E875B1F94BB54EE095A7A2DB0E4'
$file = Join-Path $env:TEMP 'Firefox Setup 151.0b10.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 /PreventRebootRequired=true' -Wait