Kommandon för att installera Google Chrome utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Google.Chrome -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Google.Chrome -e --silentwinget uninstall --id Google.Chrome -e --silentPer installationsfil
64-bitars · MSI · Alla användare
Tyst installation
msiexec /i googlechromestandaloneenterprise64.msi /qn /norestartSkriv en logg
msiexec /i googlechromestandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"Avinstallation
msiexec /x {E94F55F9-267C-3458-B5CB-6E93F2B66055} /qn /norestart- MSI-produktkod
- {E94F55F9-267C-3458-B5CB-6E93F2B66055}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E94F55F9-267C-3458-B5CB-6E93F2B66055}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
ARM64 · MSI · Alla användare
Tyst installation
msiexec /i googlechromestandaloneenterprise_arm64.msi /qn /norestartSkriv en logg
msiexec /i googlechromestandaloneenterprise_arm64.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"Avinstallation
msiexec /x {88F12B46-5CDC-3219-A559-628EB68362AF} /qn /norestart- MSI-produktkod
- {88F12B46-5CDC-3219-A559-628EB68362AF}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{88F12B46-5CDC-3219-A559-628EB68362AF}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
32-bitars · MSI · Alla användare
Tyst installation
msiexec /i googlechromestandaloneenterprise.msi /qn /norestartSkriv en logg
msiexec /i googlechromestandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"Avinstallation
msiexec /x {FBBDE87A-401B-35AF-AA6B-277F436D69F5} /qn /norestart- MSI-produktkod
- {FBBDE87A-401B-35AF-AA6B-277F436D69F5}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FBBDE87A-401B-35AF-AA6B-277F436D69F5}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-google-chrome.ps1
$url = 'https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi'
$sha256 = 'AA958C31C82A744EBA52E1354BF2D97AE3B413D5ECD14125BDF7DB1B1F44C99B'
$file = Join-Path $env:TEMP 'googlechromestandaloneenterprise64.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.ps1
$url = 'https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise_arm64.msi'
$sha256 = '7FD3E26F53E2E9536DCD906006745E68E087853FAD27554C6F7A2BC6CC776387'
$file = Join-Path $env:TEMP 'googlechromestandaloneenterprise_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.ps1
$url = 'https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi'
$sha256 = 'F8A1182EA78333A8790EB74A3A1C444F21BFBFF3C7FA36337966C868A9D8829A'
$file = Join-Path $env:TEMP 'googlechromestandaloneenterprise.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