คำสั่งสำหรับติดตั้ง Google Chrome Dev โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ 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บันทึกไฟล์ log
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บันทึกไฟล์ log
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