• On MovieTome: TRANSFORMERS 2 SPOILERS!
April 14, 2008 11:05 PM PDT

Portable Firefox and the Flash Player

Posted by Michael Horowitz
  • Font size
  • Print

I had no intention on focusing so much on the Flash Player and Firefox, but there just seems to be a lot to say. This time the topic is installing the latest version of the Adobe Flash Player in a portable version of Firefox.

I'm a huge fan of portable applications; I all but live in the portable versions of both Firefox and Thunderbird, both downloaded from portableapps.com. This posting was written in an airport and traveling is one reason to like portable applications. I normally work on a Windows XP desktop computer and before leaving on a trip, all I have to do is copy a single folder from the desktop machine to my XP based laptop computer to bring along my copy of Firefox. Copying another folder gives me all my email. When I return from the trip, copying the folders back is all it takes to pick up where I left off.

The Firefox folder includes not only the program, but also my bookmarks, my preferred configuration options, the website passwords that Firefox saves for me and the customization I made to the toolbar (such as adding the New Tab button and removing the Home button). It also includes my extensions, for the most part.

This all works fine, with the slight exception of the Flash Player plugin. Adobe doesn't do portable. Neither the Flash Player installer nor the uninstaller is the least bit aware of, or concerned with, portable versions of Firefox.

A few days ago, when I updated my desktop computer to the latest version of the Flash player, it didn't take. Although the Flash Player installer ran fine, my portable copy of Firefox kept using the old version, according to the Adobe Flash tester page.

Confused, I ran a scan with the free online Secunia Software Inspector (highly recommended) and it reported that the new version of Flash was happily living on the hard disk at C:\WINDOWS\SYSTEM32\Macromed\Flash\NPSWF32.dll.

But, I had run a normal Secunia scan rather than a "thorough" scan. The normal scan looks for applications in their normal location. Anyone using a portable application needs to use the "thorough" option when scanning with Secunia for old software. A thorough scan showed that the portable version of Firefox was indeed still using the older software.

It also, convienently, showed the file name and location of both the new Flash Player on the C disk and the old copy on the X disk where the portable copy of Firefox resided.

What To Do?

There are a couple of ways to deal with this.

If, as in my case, the computer has the latest copy of the Flash Player on the C disk, copying the appropriate DLL from the C disk to the X disk will get the portable Firefox using the latest version of Flash.

Specifically, copy file NPSWF32.dll from C:\WINDOWS\system32\Macromed\Flash to X:\FirefoxPortable\App\firefox\plugins. The full path for your portable copy of Firefox will be different, but wherever it resides, copy the Flash Player DLL into the \App\firefox\plugins folder. Again, a "thorough" Secunia scan will point you to the right place.

If the computer in question doesn't have a normally installed copy of Firefox, then simply delete or rename the file with the old version of the Flash Player (Secunia will find it). The next time you visit a web page that needs Flash, such as the Adobe Flash tester page, Firefox will prompt you to install the missing plugin and you'll get the latest version.

Finally, be aware that a portable copy of Firefox that doesn't have it's own installed version of the Flash Player will pick up a copy from the C disk, if a normally installed copy of Firefox exists. But, if the portable Firefox has an old version of Flash in its plugin folder, it will use that even if a newer version of Flash is on the C disk - which is what prompted this posting in the first place.

It's a pain, but to me, well worth it for the advantages of portable web browsing.

Note: The Secunia Software Inspector requires a recent version of Java. You can see which, if any, version of Java is installed on your computer at my JavaTester.org site.

See a summary of all my Defensive Computing postings.

Michael Horowitz is an independent computer consultant and the author of several classes on Defensive Computing. He is a member of the CNET Blog Network, and is not an employee of CNET. Disclosure.
Recent posts from Defensive Computing
Fixing bugs in the Flash Player yet again
Getting more battery power for your computer
Get an MSI Wind Netbook for only $349
Not interested in a Netbook computer? Consider the Honda Fit
Beware emails linking to blogspot.com
When Word documents break
More about printer ink rip-offs
Some computers are too important to be networked
Add a Comment (Log in or register) 3 comments
by Deathstryker April 15, 2008 8:08 AM PDT
Another tip: If you don't have any of the Flash files on your computer and have trouble installing them to your portable firefox folder, you can also download the Firefox flash installer from adobe and use Universal Extractor to manually pull out the files from the installer and place them in the plugins folder.
Reply to this comment
by GlennAllen April 16, 2008 4:40 AM PDT
Odd... I've been using Firefox and Thunderbird Portable Editions since they've existed, and I've never had a problem establishing the current/latest version of Flash player in Firefox. When Flash gets updated, just use the flashplayer-win extension to update your Fx Portable plug-in. Works like a charm; only takes a few seconds. (You can more quickly verify which release of the plug-in you're using by doing about:plugins; Shockwave Flash is usually right up at the top.)
Reply to this comment
by Deathstryker April 16, 2008 9:13 PM PDT
Sometimes that just doesn't seem to work. I've tried before (manually even) to open the flash plugin file (.xpt) in FF portable and will say it can't read it or something. And no, it wasn't corrupt. I looked into that.

So that's why I've had to use the above method before.
advertisement

In the news now

Slowing expectations at a green-tech start-up

Six months ago, biofuels start-up Mascoma had the wind in its sails, as did the rest of the clean-tech sector. Now, the company is treading carefully and scaling back.


With JavaFX, Sun seeks new coders, new revenue

With the launch of JavaFX 1.0, Sun is trying to reclaim Java's strength as a foundation for rich Internet applications. But it's no longer the incumbent.


Tim Lincecum, motion capture star

San Francisco Giants pitcher, who won the Cy Young award last month, dons a motion capture suit for 2K Sports' Major League Baseball 2K9 video game.


Resource center from CNET News sponsors
Business. Ready.
Sony VAIO® Professional PCs.

Click Here!
A new grade in mobility demands a new kind of notebook. And Sony delivers.Tough, portable and featuring up to 7.5 hours of battery life! VAIO® Professional notebooks are built for business. Learn more.

Click Here!
Built tough for business.

Learn more about the rigorous quality testing Sony puts its notebooks through.

Protect your investment.

Find out why VAIO® tech support recently won a Laptop Editors' Choice Award, July 2008.

Long battery life.

Up to 7.5 hours of battery life! See how VAIO® PCs will keep you productive longer when on the road.

Travel light

Check out our ultraportable line-up, starting at 2.87 lbs.

PCs for every need.

Find out which VAIO® notebook is right for you.

About Defensive Computing

Michael Horowitz is an independent computer consultant and the author of several classes on Defensive Computing. He views Defensive Computing as taking steps, when things are running well, to avoid or minimize the inevitable problems down the road. It's about educating yourself to the level where you can make your own intelligent decisions about keeping your computers and data happy and healthy. If you depend on computers, yet are on your own, without an IT department or nearby nerd, this blog's for you. His personal web site is michaelhorowitz.com.

He is a member of the CNET Blog Network and is not an employee of CNET.

Disclosure.

Add this feed to your online news reader

Defensive Computing topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right