Thursday, June 12, 2014

Adobe Flash player installation script

Updated 2/8/2015

I have created a simple set of commands that can be ran that will do the following which is based off the official Adobe method located here:

1) Full uninstall of ANY Adobe Flash player versions install. That is for IE or a plugin based browser such as Firefox.

2) Removes all traces of anything Adobe Flash related from the following folders:

    a) C:\Windows\System32\Macromed\
    b) C:\Users\%username%\AppData\Roaming\Adobe\Flash Player
    c) C:\Users\%username%\AppData\Roaming\Macromedia\Flash Player
    d) C:\Windows\SysWOW64\Macromed\Flash

3) Re-install your flash player versions.

I have written this in BAT file format b/c some people esp on the Firefox Forums are overly paranoid about exe, and it has become clear that some do not understand bat files either... I think I have a good enough following to prove i don't write harmful code.

I have greatly simplified this process to uninstall all flash player versions, clean up flash player files, and re-install the latest versions.

5) Go here and down load a bat file(Clean_Flash.cmd ) and place it in any folder.

6) Run as admin and let the script work, takes about a minute or two at the most on slower connections and/or systems.

That is all there is to it, no more guessing games for flash anymore.

Please make sure all programs are closed.

A note about the flash player versions:
The link is ONLY valid for Flash player versions . Once version 17 comes out the download file reference will have to be changed thought the script.

Here is a direct link to the msi files.

There is also a way to code this and turn it into an exe with windows prompts by writing the code in AutoIT
The Source Code for the exe is located here:

The Source code will have to be modified for version 16 , or any future versions once 16 becomes 17, 18, etc.... Other than changing the file versions within the script it will stay the same.
SIMPLY PUT: install_flash_player_14_active_x.msi will become
install_flash_player_15_active_x.msi, or
install_flash_player_16_active_x.msi or whatever and when a newer version comes out in that series. Downloading and installing the newest msi from Adobe ALWAYS gives you the most up to date Adobe Flash version in that series.

The only reference that will change is: install_flash_player_16_active_x.msi in the coding for either script.

I have some additional possible solutions for flash player crashing in Firefox if the Mozilla Forums prove useless as do for many for this issue.

You can check them out here:

Some other Firefox solutions are here: