如何静默安装 Google Chrome?

Iga*_*gal 22 google-chrome installation silent-install

我想静默安装 Google Chrome Beta。我试过ChromeSetup.exe/sor调用下载器,/-ms但没有任何效果。

然后我下载了独立安装版本,并尝试了相同的方法,但得到了相同的结果——静默安装不起作用。

基本上我需要的是避免安装后对话框(“选择搜索引擎”)。有没有办法默默选择谷歌?

小智 23

  1. 下载Chrome 安装程序

  2. 使用开关/silent/install像这样:

    chrome_installer.exe /silent /install
    
    Run Code Online (Sandbox Code Playgroud)
  3. 享受!


Dav*_*ish 12

使用带有q标志的MSI 文件进行安装将为您提供静默安装。


030*_*030 8

可以使用Chocolatey静默安装 Chrome 。

安装巧克力

以管理员身份打开命令提示符并发出:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
Run Code Online (Sandbox Code Playgroud)

安装 Chrome

choco install googlechrome
Run Code Online (Sandbox Code Playgroud)


小智 6

对于扩展名为 .msi 的安装文件:

msiexec /q /i GoogleChromeStandoloneEnterprise.msi
Run Code Online (Sandbox Code Playgroud)

有关详细信息,请参阅此博客文章