Upload chrome-offline-installer.cmd
Browse files- chrome-offline-installer.cmd +23 -0
chrome-offline-installer.cmd
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
COLOR 0a
|
| 2 |
+
cls
|
| 3 |
+
@echo off
|
| 4 |
+
echo Google Chrome Browser Downloader ...
|
| 5 |
+
echo The batch doesn't need admin rights!
|
| 6 |
+
pause
|
| 7 |
+
echo Please wait, until the download is finished!
|
| 8 |
+
|
| 9 |
+
if exist ChromeStandaloneSetup64.exe del /f /q ChromeStandaloneSetup64.exe
|
| 10 |
+
if exist ChromeStandaloneSetup.exe del /f /q ChromeStandaloneSetup.exe
|
| 11 |
+
if exist GoogleChrome.dmg del /f /q GoogleChrome.dmg
|
| 12 |
+
|
| 13 |
+
REM if exist ChromeStandaloneSetup64.exe del /f /q ChromeStandaloneSetup64.exe
|
| 14 |
+
REM if exist ChromeStandaloneSetup.exe del /f /q ChromeStandaloneSetup.exe
|
| 15 |
+
REM if exist GoogleChrome.dmg del /f /q GoogleChrome.dmg
|
| 16 |
+
powershell -noprofile "Start-BitsTransfer -DisplayName ChromeStandaloneSetup64.exe https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7BCEC27557-0338-A6BE-F10F-A625517C44BB%7D%26lang%3Dzh-CN%26browser%3D3%26usagestats%3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dtrue%26ap%3Dx64-stable%26installdataindex%3Ddefaultbrowser/update2/installers/ChromeStandaloneSetup64.exe -Destination ChromeStandaloneSetup64.exe"
|
| 17 |
+
powershell -noprofile "Start-BitsTransfer -DisplayName ChromeStandaloneSetup.exe https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7BCEC27557-0338-A6BE-F10F-A625517C44BB%7D%26lang%3Dzh-CN%26browser%3D3%26usagestats%3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dtrue/update2/installers/ChromeStandaloneSetup.exe -Destination ChromeStandaloneSetup.exe"
|
| 18 |
+
powershell -noprofile "Start-BitsTransfer -DisplayName GoogleChrome.dmg https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg -Destination Googlechrome.dmg"
|
| 19 |
+
cls
|
| 20 |
+
Echo Done.
|
| 21 |
+
pause
|
| 22 |
+
|
| 23 |
+
exit
|