Google Chrome Betaを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Google.Chrome.Beta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Google.Chrome.Beta -e --silentwinget uninstall --id Google.Chrome.Beta -e --silentインストーラー別
64ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i googlechromebetastandaloneenterprise64.msi /qn /norestartログを出力
msiexec /i googlechromebetastandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-beta-install.log"アンインストール
msiexec /x {43A8F9FA-A856-36F7-B3C1-B5D92EECA8B2} /qn /norestart- MSIプロダクトコード
- {43A8F9FA-A856-36F7-B3C1-B5D92EECA8B2}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{43A8F9FA-A856-36F7-B3C1-B5D92EECA8B2}
- UpgradeCode
- {4E5BAC76-2D99-356C-AE5B-B15DA0315002}
ARM64 · MSI · すべてのユーザー
サイレントインストール
msiexec /i googlechromebetastandaloneenterprise_arm64.msi /qn /norestartログを出力
msiexec /i googlechromebetastandaloneenterprise_arm64.msi /qn /norestart /l*v "%TEMP%\google-chrome-beta-install.log"アンインストール
msiexec /x {DEEA9223-3ED5-39D7-B114-6B832FF214A4} /qn /norestart- MSIプロダクトコード
- {DEEA9223-3ED5-39D7-B114-6B832FF214A4}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DEEA9223-3ED5-39D7-B114-6B832FF214A4}
- UpgradeCode
- {4E5BAC76-2D99-356C-AE5B-B15DA0315002}
32ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i googlechromebetastandaloneenterprise.msi /qn /norestartログを出力
msiexec /i googlechromebetastandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-beta-install.log"アンインストール
msiexec /x {27FDAA71-E9FA-38B9-953E-200835AB7E45} /qn /norestart- MSIプロダクトコード
- {27FDAA71-E9FA-38B9-953E-200835AB7E45}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{27FDAA71-E9FA-38B9-953E-200835AB7E45}
- UpgradeCode
- {4E5BAC76-2D99-356C-AE5B-B15DA0315002}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-google-chrome-beta.ps1
$url = 'https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise64.msi'
$sha256 = '6B8C1BCF660D5328493171CCDEC80318E9695DE3B7C514F161E9D8D6D763C5E6'
$file = Join-Path $env:TEMP 'googlechromebetastandaloneenterprise64.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-google-chrome-beta.ps1
$url = 'https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise_arm64.msi'
$sha256 = '0BC62285788792A10B58F4714693635E28ECEB746799C10191998DCB3E8909E1'
$file = Join-Path $env:TEMP 'googlechromebetastandaloneenterprise_arm64.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-google-chrome-beta.ps1
$url = 'https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise.msi'
$sha256 = 'CC9137658DD8402F9BD512D01DF6DC23FA2BB27C38E2AA36A545BAB81A0D7B33'
$file = Join-Path $env:TEMP 'googlechromebetastandaloneenterprise.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