

GOTO END :LATEST_VERSION echo Version %latestVersion% of Adobe Flash Player for ActiveX is already installed.

\\server\path\to\ %latestVersion%.exe /s echo Completed installation of Adobe Flash Player version %latestVersion% for ActiveX.ĬOPY \\server\path\to\mms.cfg C:\WINDOWS\System 32\Macromed\Flash\mms.cfg \\server\path\to\uninstall_flash_player.exe /s echo. Unlike Google Chrome, the portable version of Firefox and Opera web browsers doesn't come with Adobe Flash Player support but fortunately can be easily fixed by manually copying the NPSWF32.dll file to the program folder. GOTO END :NOT_INSTALLED echo Adobe Flash Player for ActiveX not found, installing.Įcho Now installing an update to Adobe Flash Player for ActiveX.Įcho Do not start any web browsers until this window closes. Adobe Flash Player installation cannot continue. TASKLIST /NH | FIND /I "iexplore.exe" IF %ERRORLEVEL% = 1 GOTO INSTALL_AX echo.Įcho Internet Explorer was detected to be running. 'reg query %key% /v DisplayVersion^|Find "REG_" 2^>Nul') Do Set "version=%%#" IF %version% = %latestVersion% GOTO LATEST_VERSION :: SEE IF IE IS RUNNING :IE_CHECK IF %ERRORLEVEL% = 1 GOTO NOT_INSTALLED :: CHECK IF FLASH AX IS LATEST FOR /f "tokens=3 delims= " %%# In ( 34 SET key = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX" SET version = 0 :: CHECK IF FLASH AX IS INSTALLED SET emptyTest =reg query %key% /v DisplayVersion button to be directed to the download page to download and install the latest version.Echo off :: NAME THE EXE WITH THE VERSION NUMBER SET latestVersion = 10.

If there isn't a version listed, then Flash Player isn't installed.If an update is available a notification dialog will display. If there is a version listed, click the Check Now button and Flash Player will check for an update. If Flash Player is installed the version installed will be listed here.There are 2 variants of Flash Player on Mac, NPAPI for Safari and Firefox, and PPAPI for Opera and Chromium-based browsers, and both will be listed in the 'Updates' tab. Go to System Preferences > Flash Player > Updates tab.There are several different methods to check what version is installed, two of them are:
