أوامر لتثبيت برنامج Google Chrome دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام 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 --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i googlechromestandaloneenterprise64.msi /qn /norestartكتابة ملف سجل
msiexec /i googlechromestandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"إلغاء التثبيت
msiexec /x {B3DB5E18-7FDA-3432-9931-2E60D41BD242} /qn /norestart- رمز منتج MSI
- {B3DB5E18-7FDA-3432-9931-2E60D41BD242}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B3DB5E18-7FDA-3432-9931-2E60D41BD242}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
ARM64 · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i googlechromestandaloneenterprise_arm64.msi /qn /norestartكتابة ملف سجل
msiexec /i googlechromestandaloneenterprise_arm64.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"إلغاء التثبيت
msiexec /x {7F7F5DB4-05FC-3B29-9C3B-D98B18E6B380} /qn /norestart- رمز منتج MSI
- {7F7F5DB4-05FC-3B29-9C3B-D98B18E6B380}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7F7F5DB4-05FC-3B29-9C3B-D98B18E6B380}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
32 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i googlechromestandaloneenterprise.msi /qn /norestartكتابة ملف سجل
msiexec /i googlechromestandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"إلغاء التثبيت
msiexec /x {1D1735D5-1BCC-3A15-9122-84B7CC8D1D4A} /qn /norestart- رمز منتج MSI
- {1D1735D5-1BCC-3A15-9122-84B7CC8D1D4A}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1D1735D5-1BCC-3A15-9122-84B7CC8D1D4A}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-google-chrome.ps1
$url = 'https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi'
$sha256 = '385A8817EC8513536E57E7177ACF226104E7F13910D83EA1BBFE39C3D9AC2D03'
$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 = '67EDCDAAE7019A78E160CC653BE39D73E508E33E22F1051F9B88457CABDB83F4'
$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 = 'EF722ED0710F47443F1154AEE8C7D97CCFA7C81696DDCB4C8E47EEA88353A569'
$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