Firefox 2 and 3 side by side

June 19, 2008 at 11:08 AMAndre Loker

So, Firefox 3 is out. The curious part in me wants to upgrade, the reasonable part wants to stay with version 2 ("will my add-ins work with v3, yadda yadda"). Even worse, the developer in me wants to install both versions, to see how my projects work on either one. Side by side installation is not really intended by Mozilla. But luckily it's still possible.

This article will show you how you can run both FF 2 and FF 3 on the same machine. We will not change the FF 2 installation. We'll only add a non-installation version of Firefox 3 that can be launched on demand without changing the FF 2 profile. The article is based on this article and this article (German).

Before we start: I am not responsible for any trouble that this guide causes on your computer. It works fine on my machine, but don't blame me if your Firefox profile get messed up, your keyboard catches fire or your girlfriend leaves you etc.

  1. Make a backup of your current Firefox installation. I mean seriously, make a backup. I recommend MozBackup, it's easy yet powerful and gets its job done.
  2. Create a new Firefox profile for our future Firefox 3. We don't want FF 3 and FF 2 to use the same profile, so this step is important.
    1. Launch the profile manager with: firefox -profilemanager -no-remote
    2. Select "Create Profile..." to create a new profile. You can name it whatever you like (here I named it ff3test), just remember the name for later!
      image
  3. Download Firefox 3 from mozilla.com. You should have 'Firefox Setup 3.0.exe' by now. Do NOT install it!
  4. Extract the content of 'Firefox Setup 3.0.exe' to a folder on your drive. I use 7-zip for this, but other tools may work as well. With 7-zip, right click on 'Firefox Setup 3.0.exe' and select 7-zip -> Extract to "Firefox Setup 3.0\". The folder with the extracted content should look like this:
    image
  5. Remove unnecessary files: remove the following files/folders:
    1. optional
    2. removed-files.log
    3. setup.exe
  6. Move the content of localized to nonlocalized. Confirm to overwrite all files when asked. You can delete the "localized" folder safely.
  7. The "nonlocalized" folder now contains all required FF 3 binaries. You may rename it (to let's say "Mozilla Firefox 3") and move it (to "Program Files (x86)") if you like.
  8. Create a shortcut to FF 3. In this example I create a shortcut on my desktop.
    1. Locate firefox.exe in the (former) "nonlocalized" folder, right click on it, choose 'Send to' -> 'Desktop'
      image
    2. Locate the shortcut on your desktop, rename it if you like, right click it and choose 'Properties'
    3. Append "-P ff3_profile -no-remote" to the "Target" text field, where ff3_profile is the name of the designated Firefox 3 profile you created in step 2. In my case it was called "ff3test", so my text field looks like:
      image

That's it! You can now continue to use FF2 as usual. If you feel like FF3'ing, just use the shortcut we created to run the shiny new Firefox 3. Of course, there is no uninstall option for FF 3 (we did not install it in the first place). To get rid of FF3 just delete the respective folder, the shurtcut and if necessary the profile.

image

NB: the first time you start FF2 after this procedure the profile manager may appear. Just select the default profile and check "Dont's ask at startup".

Posted in: Other

Tags:

Older versions of Firefox

June 19, 2008 at 10:32 AMAndre Loker

Need an older release of Firefox? Here you go: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/

Posted in: Other

Tags:

Speed up Firefox when using Development Server

June 18, 2008 at 1:17 PMAndre Loker

The problem

Using Firefox on Vista to view websites hosted by the Visual Studio Development Server can be unbearably slow. Pages take aeons (i.e. several seconds) to load while viewing the same site under IE does not suffer from this issue.

The solution

As mentioned in this blog post, this problem can be solved like this:

  1. Open the Firefox config (browse to about:config)
  2. Locate the setting: network.dns.disableIPv6 (type "v6" into the filter field)
  3. Change the value to true (double click the row)

The result

Now sites on the built in development server work fast even under Firefox and Vista.

The conclusion

What can I say - it works :-)

Update 06/19/2008: works with Firefox 3 as well

Posted in: ASP.NET

Tags: ,