jewelpax.blogg.se

Install chrome on windows 10
Install chrome on windows 10












install chrome on windows 10 install chrome on windows 10

You can "silently install" Google Chrome on any modern Windows OS with the following Powershell one-liner: $LocalTempDir = $env:TEMP $ChromeInstaller = "ChromeInstaller.exe" (new-object ).DownloadFile('', "$LocalTempDir\$ChromeInstaller") & "$LocalTempDir\$ChromeInstaller" /silent /install $Process2Monitor = "ChromeInstaller" Do Until (!$ProcessesFound) $("Authorization", "Basic " + $credentialsB64) Ĭ:\temp\chrome_installer.exe /silent /install $credentialsB64 = ::ToBase64String($credentialsB64) $credentialsB64 = ::UTF8.GetBytes($credentials) # our curl command, with basic authentication if $credentials provided C:\temp is an existing directory that you can access (or just change your $filePath).ensure you are running PowerShell in Administrator mode.The code will call Get-Url and silently execute chrome_installer.exe.Create a ps1, psm1 or simply copy and paste and execute this code block in PowerShell.If you need basic auth, I've provided parameters for that too. If only PowerShell 2.0 had a native one-line curl.įor simplicity, I created my own, which takes a url and downloads the content.














Install chrome on windows 10