You are here

Bug - Paths are not relative in many FFP files...

2 posts / 0 new
Last post
eternicode
Offline
Last seen: 17 years 3 months ago
Joined: 2007-08-19 00:02
Bug - Paths are not relative in many FFP files...

Hi,

I've been playing around with my new FFP installation, and I noticed that there are a few files that use absolute paths, using the drive's letter to locate the resource. I see this as an issue, since this program is supposed to work independent of drive letter. Problematic files I've found so far:

FireFoxPortable\Data\profile\extensions.ini
FireFoxPortable\Data\profile\compatibility.ini
FireFoxPortable\Data\settings\FireFoxPortableSettings.ini
FireFoxPortable\DefaultData\profile\extensions.ini
FireFoxPortable\DefaultData\profile\compatibility.ini

These are just files that mention drive letters in the paths they mention. The first three are probably the only ones that would cause any problems. The first file, however, is a real issue, and is the cause of all the "missing extensions" reports when people switch computers.

The problem is that the extensions.ini file contains the paths to all installed extensions and themes. Unfortunately, these paths are saved with the drive's current letter. Therefore, when the user switches computers, switching drive letters in the process, the extensions/themes can't be found by FFP. I tried changing these to relative paths (from G:\... to \...) but that had the same effect as changing the drive letter.

Sorry if this is badly worded/difficult to understand/sounds insulting >_

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 55 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Wrong

extensions.ini is updated on every launch by Firefox with the new paths.

compatibility.ini is updated on every launch by Firefox with the new path.

FirefoxPortableSettings.ini is used by the Firefox Portable launcher to track the last place you ran from to keep track of things it needs to change.

None of these things have anything at all to do with the missing extensions reports (which are actually caused by corrupt files, usually due to unsafe drive removal or failing drives).

Trust me.... if Firefox Portable didn't work right when you moved it, we'd have heard an earful already.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments