Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Программы » Mozilla Firefox (часть 18)

Модерирует : gyra, Maz

gyra (04-05-2019 20:59): http://forum.ru-board.com/topic.cgi?forum=5&topic=50225  Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

   

vwo23976

Newbie
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
[more]
Цитата:
03. Где взять патченный (а можно и не патченный) флеш-плеер (dll и exe) под esr-сборку ? В профильной теме линки передохли.

 
powershell (если не заработает - обнови повершелл).не нужное - удалить.

Код:
$h = @{
"http://fpdownload.adobe.com/get/flashplayer/current/support/uninstall_flash_player.exe" = ".\uninstall_flash_player.exe"
"http://fpdownload.adobe.com/get/flashplayer/distribution/win/AdobeFlashPlayerCatalog_SCUP.cab" = ".\AdobeFlashPlayerCatalog_SCUP.cab"
"https://download.macromedia.com/get/flashplayer/current/support/uninstall_flash_player.exe" = ".\uninstall_flash_player.exe"
"https://download.macromedia.com/get/flashplayer/current/support/uninstall_flash_player_osx.dmg" = ".\uninstall_flash_player_osx.dmg"
"https://download.macromedia.com/pub/flashplayer/latest/help/install_flash_player.exe" = ".\install_flash_player.exe"
"https://download.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ax.exe" = ".\install_flash_player_ax.exe"
"https://download.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg" = ".\install_flash_player_osx.dmg"
"https://download.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx_ppapi.dmg" = ".\install_flash_player_osx_ppapi.dmg"
"https://download.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ppapi.exe" = ".\install_flash_player_ppapi.exe"
"https://download.macromedia.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player.exe" = ".\uninstall_flash_player.exe"
"https://download.macromedia.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player_osx.dmg" = ".\uninstall_flash_player_osx.dmg"
"https://fpdownload.adobe.com/get/flashplayer/current/support/uninstall_flash_player_osx.dmg" = ".\uninstall_flash_player_osx.dmg"
"https://fpdownload.adobe.com/pub/flashplayer/latest/help/install_flash_player.exe" = ".\install_flash_player.exe"
"https://fpdownload.adobe.com/pub/flashplayer/latest/help/install_flash_player_ax.exe" = ".\install_flash_player_ax.exe"
"https://fpdownload.adobe.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg" = ".\install_flash_player_osx.dmg"
"https://fpdownload.adobe.com/pub/flashplayer/latest/help/install_flash_player_osx_ppapi.dmg" = ".\install_flash_player_osx_ppapi.dmg"
"https://fpdownload.adobe.com/pub/flashplayer/latest/help/install_flash_player_ppapi.exe" = ".\install_flash_player_ppapi.exe"
"https://fpdownload.adobe.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player.exe" = ".\uninstall_flash_player.exe"
"https://fpdownload.adobe.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player_osx.dmg" = ".\uninstall_flash_player_osx.dmg"
"https://fpdownload.macromedia.com/get/flashplayer/current/support/uninstall_flash_player.exe" = ".\uninstall_flash_player.exe"
"https://fpdownload.macromedia.com/get/flashplayer/current/support/uninstall_flash_player_osx.dmg" = ".\uninstall_flash_player_osx.dmg"
"https://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player.exe" = ".\install_flash_player.exe"
"https://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ax.exe" = ".\install_flash_player_ax.exe"
"https://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg" = ".\install_flash_player_osx.dmg"
"https://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx_ppapi.dmg" = ".\install_flash_player_osx_ppapi.dmg"
"https://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ppapi.exe" = ".\install_flash_player_ppapi.exe"
"https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player.exe" = ".\uninstall_flash_player.exe"
"https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/uninstall_flash_player_osx.dmg" = ".\uninstall_flash_player_osx.dmg"
}
 
foreach($i in $h.GetEnumerator())
{
 $file = Get-Item $i.Value
 $h = Invoke-WebRequest $i.Name -Method Head
 
$name = $i.Value
$webtime = [datetime]$h.Headers["Last-Modified"]
$weblength = $h.Headers["Content-Length"]
Write-Host "FileName : $name" -ForeGround "Yellow"
Write-Host "FileDate : $webtime" -ForeGround "Green"
Write-Host "FileByte : $weblength" -ForeGround "Blue"
 
 
 if($file.LastWriteTime -ne $h.Headers["Last-Modified"]){
  Invoke-WebRequest $i.Name -OutFile $i.Value
  $file = Get-Item $i.Value
  $file.LastWriteTime = [datetime]$h.Headers["Last-Modified"]
 }
}

 
 
 
 
 
обновить, cmd. три скачанных флешника должны лежать в одной папке с cmd. бонусом отключение автообновления (для вин 64. для 32 аналогично, только путь другой для файлика mms.cfg).

Код:
rem ALL_FLASH_DEL
taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
wmic product where "name like 'Adobe Flash Player%%'" call uninstall /nointeractive
 
set process5=install_flash_player.exe
start /wait %~dp0install_flash_player.exe /install
goto checker5
:check5
cls
echo Process %process5% is still running...
:checker5
tasklist /FI "IMAGENAME eq %process5%" /NH | findstr /i "%process5%">nul
if %errorLevel% == 0 goto :check5
 
 
set process6=install_flash_player_ax.exe
start /wait %~dp0install_flash_player_ax.exe /install
goto checker6
:check6
cls
echo Process %process6% is still running...
:checker6
tasklist /FI "IMAGENAME eq %process6%" /NH | findstr /i "%process6%">nul
if %errorLevel% == 0 goto :check6
 
 
set process7=install_flash_player_ppapi.exe
start /wait %~dp0install_flash_player_ppapi.exe /install
goto checker7
:check7
cls
echo Process %process7% is still running...
:checker7
tasklist /FI "IMAGENAME eq %process7%" /NH | findstr /i "%process7%">nul
if %errorLevel% == 0 goto :check7
 
echo SilentAutoUpdateEnable=^0>c:\Windows\SysWOW64\Macromed\Flash\mms.cfg
echo AutoUpdateDisable=^1>>c:\Windows\SysWOW64\Macromed\Flash\mms.cfg

 

Всего записей: 13 | Зарегистр. 10-07-2018 | Отправлено: 11:20 06-08-2018 | Исправлено: vwo23976, 11:23 06-08-2018
   

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » Программы » Mozilla Firefox (часть 18)
gyra (04-05-2019 20:59): http://forum.ru-board.com/topic.cgi?forum=5&topic=50225


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru