คำสั่งสำหรับติดตั้ง Google Chrome โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ 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บันทึกไฟล์ log
msiexec /i googlechromestandaloneenterprise64.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"ถอนการติดตั้ง
msiexec /x {FC681062-00FC-3E42-98D1-2B1A9AF642A3} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {FC681062-00FC-3E42-98D1-2B1A9AF642A3}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FC681062-00FC-3E42-98D1-2B1A9AF642A3}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
ARM64 · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i googlechromestandaloneenterprise_arm64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i googlechromestandaloneenterprise_arm64.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"ถอนการติดตั้ง
msiexec /x {D548498E-F78F-38EB-A567-69F04E86647C} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {D548498E-F78F-38EB-A567-69F04E86647C}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D548498E-F78F-38EB-A567-69F04E86647C}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
32 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i googlechromestandaloneenterprise.msi /qn /norestartบันทึกไฟล์ log
msiexec /i googlechromestandaloneenterprise.msi /qn /norestart /l*v "%TEMP%\google-chrome-install.log"ถอนการติดตั้ง
msiexec /x {BB5240D9-4CFA-33E9-B558-0914EE16C572} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {BB5240D9-4CFA-33E9-B558-0914EE16C572}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{BB5240D9-4CFA-33E9-B558-0914EE16C572}
- UpgradeCode
- {C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-google-chrome.ps1
$url = 'https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi'
$sha256 = 'A31BD8A4746069A128BF3BEEFDAA246C792AF5F15BBF06AF0259ABC895C9609B'
$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 = 'E906538E01F465666C0E7F14BB9B754B8D2F23F8C386B8DDCDE4B934E8C892A6'
$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 = '05E3A2285039F22E68D999F5943C1CBB9B0C953FC307DE925BE57876D51CF506'
$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