أوامر لتثبيت برنامج Google Chrome Dev دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام 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 --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i googlechromedevstandaloneenterprise64.msi /qn /norestartكتابة ملف سجل
msiexec /i googlechromedevstandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-dev-install.log"إلغاء التثبيت
msiexec /x {76DF22E1-E3A5-301C-BCF7-59BA2F3DC78A} /qn /norestart- رمز منتج MSI
- {76DF22E1-E3A5-301C-BCF7-59BA2F3DC78A}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{76DF22E1-E3A5-301C-BCF7-59BA2F3DC78A}
- UpgradeCode
- {4446A051-2887-39AC-BF8C-BD2ED8B703CA}
32 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i googlechromedevstandaloneenterprise.msi /qn /norestartكتابة ملف سجل
msiexec /i googlechromedevstandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-dev-install.log"إلغاء التثبيت
msiexec /x {B2BBDBBF-D1DD-3B4D-8694-8BE1B22B2121} /qn /norestart- رمز منتج MSI
- {B2BBDBBF-D1DD-3B4D-8694-8BE1B22B2121}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{B2BBDBBF-D1DD-3B4D-8694-8BE1B22B2121}
- UpgradeCode
- {4446A051-2887-39AC-BF8C-BD2ED8B703CA}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
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