Created
August 25, 2012 13:36
-
-
Save karlhorky/3465761 to your computer and use it in GitHub Desktop.
Trigger Adobe Flash Player Auto-Update mechanism on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: On-Demand Flash Autoupdate | |
:: Author: Karl Horky | |
:: Date: 22 June 2012 | |
:: Version: 0.2 | |
:: Homepage: http://www.karlhorky.com/2012/06/manually-run-autoupdate-for-adobe-flash.html | |
@echo off | |
cd C:\Windows\System32\Macromed\Flash\ | |
if exist *ActiveX.exe ( | |
echo Updating Flash Player Plugin for Internet Explorer | |
for /f "tokens=*" %%f in ('dir /b *ActiveX.exe') do set last=%%f | |
) | |
if defined last ( | |
%last% -update plugin | |
set last= | |
echo Complete! | |
) | |
if exist *Plugin.exe ( | |
echo Updating Flash Player Plugin for Firefox, Safari, Opera | |
for /f "tokens=*" %%f in ('dir /b *Plugin.exe') do set last=%%f | |
) | |
if defined last ( | |
%last% -update plugin | |
echo Complete! | |
) | |
pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Utilities/Adobe\ Flash\ Player\ Install\ Manager.app/Contents/MacOS/Adobe\ Flash\ Player\ Install\ Manager -update plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Windows\System32\Macromed\Flash\FlashUtil<version number>ActiveX.exe -update plugin | |
C:\Windows\System32\Macromed\Flash\FlashUtil<version number>Plugin.exe -update plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment