Kommandon för att installera Google Chrome Dev 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.Dev -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Google.Chrome.Dev -e --silentwinget uninstall --id Google.Chrome.Dev -e --silentPer installationsfil
64-bitars · MSI · Alla användare
Tyst installation
msiexec /i googlechromedevstandaloneenterprise64.msi /qn /norestartSkriv en logg
msiexec /i googlechromedevstandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-dev-install.log"Avinstallation
msiexec /x {76DF22E1-E3A5-301C-BCF7-59BA2F3DC78A} /qn /norestart- MSI-produktkod
- {76DF22E1-E3A5-301C-BCF7-59BA2F3DC78A}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{76DF22E1-E3A5-301C-BCF7-59BA2F3DC78A}
- UpgradeCode
- {4446A051-2887-39AC-BF8C-BD2ED8B703CA}
32-bitars · MSI · Alla användare
Tyst installation
msiexec /i googlechromedevstandaloneenterprise.msi /qn /norestartSkriv en logg
msiexec /i googlechromedevstandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-dev-install.log"Avinstallation
msiexec /x {B2BBDBBF-D1DD-3B4D-8694-8BE1B22B2121} /qn /norestart- MSI-produktkod
- {B2BBDBBF-D1DD-3B4D-8694-8BE1B22B2121}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{B2BBDBBF-D1DD-3B4D-8694-8BE1B22B2121}
- UpgradeCode
- {4446A051-2887-39AC-BF8C-BD2ED8B703CA}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-google-chrome-dev.ps1
$url = 'https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise64.msi'
$sha256 = '39721CCA6CC42C151D8B699505FD4CA87E531DC7B6E94B00C1E0E014586037AB'
$file = Join-Path $env:TEMP 'googlechromedevstandaloneenterprise64.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-dev.ps1
$url = 'https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise.msi'
$sha256 = 'B6E3591443795E08F9559EDE926F87A15579ECDB1CBF32EB6E3BB524D04EE6C4'
$file = Join-Path $env:TEMP 'googlechromedevstandaloneenterprise.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