Skip to content

Automatic Update Script for Flash Player for Mac

Since version 10.3 of Flash Player for the Mac, there has been an automatic update feature for the plugin, as part of a System Preferences pane. Unfortunately, I have not had much luck with it actually doing updates automatically!

I have, then, found it necessary to either check for updates manually, or devise a custom script to do an automatic check for updates.

Based on this MacOSXHints post, here is the script I am using to keep Flash Player on Mac OS X up-to-date. Combined with an OS X LaunchAgent to check every two hours, this is an automatic update solution that actually is automatic!

Download Flash Player Automatic Update Script
Download Flash Checker Script

Installation

  • Copy the ‘Flash Checker’ folder into /Library/Application Support.
  • Make sure the execute permissions are set on /Library/Application Support/Flash Checker/flash_checker.
    (From Terminal, run: sudo chmod +x /Library/Application\ Support/Flash Checker/flash_checker.)
  • Copy the ‘uk.org.upfold.FlashChecker.plist’ file into ~/Library/LaunchAgents.
  • Optionally, edit the RunAtLoad directive in the plist to true to check for updates each time you log on, or edit the StartInterval to check more or less frequently than the default of two hours.

Disable without Uninstalling

  • Set the Disabled directive to true in the ~/Library/LaunchAgents/uk.org.upfold.FlashChecker.plist.

Uninstallation

  • Remove the ‘uk.org.upfold.FlashChecker.plist’ file from ~/Library/LaunchAgents.
  • Delete the folder /Library/Application Support/Flash Checker.

Like this post?

If you would like to support the time and effort I have put into my tutorials and writing, please consider making a donation.

3 Comments

  1. C McCoy wrote:

    When I try and run this the osascript to prompt me seems to fail. The log I get is:


    Thu Apr 19 13:52:42 EDT 2012: Current Flash version: 11.2.202.228
    Thu Apr 19 13:52:42 EDT 2012: Available Flash version: 11.2.202.233
    Thu Apr 19 13:52:42 EDT 2012: We are out of date. Will alert the user.
    User response to dialogue was: execution

    This is in OSX 10.7.3

    Thursday, April 19, 2012 at 18:54 | Permalink | Using Mozilla Firefox Mozilla Firefox 11.0 on Mac OS X Mac OS X 10
  2. C McCoy wrote:

    I tracked down the issue, your script in the osascript line references an icon file that does not exist in the zip file provided:

    with icon POSIX FILE “/Library/Application Support/Flash Checker/FlashPlayerInstaller.icns”

    Removing that part of the command allows it to run. Probably does not look as fancy but it works. I may play around with this to add launching the updater as well just to automate one more step. This is pretty cool so thanks for sharing!!

    Thursday, April 19, 2012 at 23:17 | Permalink | Using Mozilla Firefox Mozilla Firefox 11.0 on Mac OS X Mac OS X 10
  3. carry wrote:

    Hi peter ,
    I installed the script on El Capitan ,
    I just don’t know if it runs or not .
    is there any way to check it?

    Regards

    Wednesday, May 4, 2016 at 20:46 | Permalink | Using Safari Safari 601.5.17 on Mac OS X Mac OS X 10.11.4

Post a Comment

On some sites, you must be logged in to post a comment. This is not the case on this site.
Your email address is not made public or shared. Required fields are marked with *.
*
*
*

Posting a comment signifies you accept the privacy policy.
Please note — usually your comment will appear straight away but sometimes it will be held for approval (this is due to the spam filter). If your comment is waiting to be approved, please don’t post it again! It will appear eventually.