Nov 27

Adobe Flash Player 10.1.102.64 Install Batch Script

Here’s the script I use for deploying Adobe Flash Player via Altiris NS and SCCM 2007 using the System account.  It also works well if you need to run it manually from an Administrator account on the computer.  The script has been tested under Windows XP x86 and Windows 7 x64.

If you plan on deploying this to your company, you must register with Adobe.  It is a painless process which can be done here: http://www.adobe.com/products/players/flash-player-distribution.html

To disable the update notifications, create a file named “mms.cfg” with the following text:

AutoUpdateDisable=1

And here is the batch script that performs the install of Adobe Flash Player and the update disable file.

@ECHO OFF

ECHO Installing Adobe Flash Player 10.1.102.64
"\\pathToServer\Adobe Flash Player\10.1.102.64 (ActiveX)\install_flash_player_10_active_x.exe" -install

IF EXIST "%ProgramFiles(x86)%" GOTO 64bit

:32bit
ECHO Disabling Update Notification
COPY /Y "\\pathToServer\Adobe Flash Player\mms.cfg" "%windir%\system32\Macromed\Flash\mms.cfg"

GOTO End

:64bit
ECHO Disabling Update Notification
COPY /Y "\\pathToServer\Adobe Flash Player\mms.cfg" "%windir%\SysWOW64\Macromed\Flash\mms.cfg"

GOTO End

:End

Share

1 comment

    • vikram on April 2, 2012 at 2:34 AM
    • Reply

    Thank you so much…this helped!

Leave a Reply

Your email address will not be published.

*