Ordres per instal·lar Google Chrome Beta sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i googlechromebetastandaloneenterprise64.msi /qn /norestartDesar un registre
msiexec /i googlechromebetastandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-beta-install.log"Desinstal·lar
msiexec /x {43A8F9FA-A856-36F7-B3C1-B5D92EECA8B2} /qn /norestart- Codi de producte MSI
- {43A8F9FA-A856-36F7-B3C1-B5D92EECA8B2}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{43A8F9FA-A856-36F7-B3C1-B5D92EECA8B2}
- UpgradeCode
- {4E5BAC76-2D99-356C-AE5B-B15DA0315002}
ARM64 · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i googlechromebetastandaloneenterprise_arm64.msi /qn /norestartDesar un registre
msiexec /i googlechromebetastandaloneenterprise_arm64.msi /qn /norestart /l*v "%TEMP%\google-chrome-beta-install.log"Desinstal·lar
msiexec /x {DEEA9223-3ED5-39D7-B114-6B832FF214A4} /qn /norestart- Codi de producte MSI
- {DEEA9223-3ED5-39D7-B114-6B832FF214A4}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DEEA9223-3ED5-39D7-B114-6B832FF214A4}
- UpgradeCode
- {4E5BAC76-2D99-356C-AE5B-B15DA0315002}
32 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i googlechromebetastandaloneenterprise.msi /qn /norestartDesar un registre
msiexec /i googlechromebetastandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-beta-install.log"Desinstal·lar
msiexec /x {27FDAA71-E9FA-38B9-953E-200835AB7E45} /qn /norestart- Codi de producte MSI
- {27FDAA71-E9FA-38B9-953E-200835AB7E45}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{27FDAA71-E9FA-38B9-953E-200835AB7E45}
- UpgradeCode
- {4E5BAC76-2D99-356C-AE5B-B15DA0315002}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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