Chrome安装错误:“Egads!安装失败”

问题描述 投票:0回答:1

我正在尝试使用PowerShell在我的Windows 7计算机上安装Chrome。

下载成功但安装失败,但失败并出现错误:

Egads!安装失败

我找到了一些手动处理来解决程序文件中的删除Chrome文件夹等问题。

$saveFilePath="$PSScriptRoot\chrome_installer.exe"
$url="https://dl.google.com/chrome/install/375.126/chrome_installer.exe"
$downloader = (new-object System.Net.WebClient)
$downloader.DownloadFile("$url", "$saveFilePath")
$process = Start-Process -FilePath "$saveFilePath" -ArgumentList "/quiet" -Wait -PassThru -ErrorAction Stop;
powershell
1个回答
0
投票

您使用的参数不正确。您需要使用“/ SILENT / INSTALL”而不是“/ QUIET”。

有关更多信息,请参阅此处:https://superuser.com/questions/337210/how-can-i-silently-install-google-chrome

© www.soinside.com 2019 - 2024. All rights reserved.