You are here

@ John Reg Left with Beta 4

11 posts / 0 new
Last post
Devo
Offline
Last seen: 7 months 2 weeks ago
Joined: 2007-09-04 14:55
@ John Reg Left with Beta 4

After running the latest Beta with no additional extensions or add-ons installed, I found that a single registry entry is left after firefox is closed (HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla\CurrentVersion). This entry is also left with 2.0.0.12 so I'm thinking it has something to do with my computer. The only way I can get rid if it is to delete the value manually. Again I hope that it is just the computer I am using, is there something I'm not doing? Any help would be appreciated.

rab040ma
Offline
Last seen: 1 month 4 weeks ago
Joined: 2007-08-27 13:35
If the launcher were run in

If the launcher were run in a limited user context, or would drop security privileges (the way DropMyRights does) then Firefox would not be able to write to (most of) HKLM and this wouldn't be a problem. Wink

If you wanted, you could use DropMyRights or psexec.exe yourself ... in fact, short of logging in with a non-Admin user account, that's the best way to keep safe when using any browser or mail client or most anything else.

MC

Simeon
Simeon's picture
Offline
Last seen: 9 years 8 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
But

it still is a problem if run on an Admin account.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

rab040ma
Offline
Last seen: 1 month 4 weeks ago
Joined: 2007-08-27 13:35
But

you should never be running a browser with Admin privileges!
Blum

If FFP is really changing that registry key, it will probably get noticed eventually and a fix attempted.

MEANWHILE

You should use DropMyRights or psexec to run with limited privileges, and then FFP won't be able to write to that registry key, and you won't notice the problem (and no malware you encounter while you browse the web will be able to either -- which is the whole reason not to use Admin while browsing).

MC

Devo
Offline
Last seen: 7 months 2 weeks ago
Joined: 2007-09-04 14:55
My Point

I guess my point is not that I'm using FFP on a computer with admin rights, my point is that the launcher should either delete or backup and remove that reg key. I don't really know anything about writing a launcher, but it seems it would be pretty simple to tell the launcher to delete that value. It seems like a quick and easy fix.

rab040ma
Offline
Last seen: 1 month 4 weeks ago
Joined: 2007-08-27 13:35
It would be quick and easy,

It would be quick and easy, if you could guarantee that no local Firefox has been installed -- you wouldn't want to just delete that key if it was put there by something else. The idea is to leave things the way they were, not to delete settings that the host computer might depend on.

There's also the issue of what happens if the power fails or the USB drive is removed without closing the app. You have to provide for the cleanup to happen the next time the Portable app starts, or at least to allow for a graceful recovery.

MC

themidwesterner
Offline
Last seen: 16 years 3 months ago
Joined: 2008-03-11 16:07
firefox 3

just hope that portable firefox 3 will allow you to save "check if firefox 3 is your default browser" i know with portable apps you don't want to leave a trail, but would be nice if you could choose to do it.. i've read the support forums on this question, and seems like there isn't an easy fix, but maybe there's a way to automate it so that it would erase the settings upon exit. even if it doesn't, it would be nice to at least have the option to do it, and leave it up to the user- also would be nice to have it in thunderbird as well

rab040ma
Offline
Last seen: 1 month 4 weeks ago
Joined: 2007-08-27 13:35
The problem is:

The problem is: what happens if the USB drive is removed ungracefully, or the power fails, and the host computer is left thinking FFP that's not there any more is the default browser? Do you want to include a cleanup program in "run once", or how do you handle it?

There are some ways to make it happen, they just get very messy very quickly.

MC

John T. Haller
John T. Haller's picture
Online
Last seen: 52 min 15 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
In There

Handling of this key is in the launcher for 2.0.0.12 and the 3 Betas and has been for quite some time. Unless it is detecting Firefox locally and not sticking around (though the Beta 4 release now does this properly).

Any chance you're using the INI with something like AllowMultipleInstances or something? (which is NOT recommended except on your own machine as it prevents the cleanup from running)

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

Devo
Offline
Last seen: 7 months 2 weeks ago
Joined: 2007-09-04 14:55
All I did to produce this

All I did to produce this was download FFP, extract it, run it, navigate away from the homepage, and close FFP. I did notice that if I just opened FFP and closed it without navigating away from the homepage, this entry is not even created. Again, I'm thinking that it might be something my computer is doing because you said that the launcher handles this, but I have no idea why. Is there anything I can do to determine what is going on with this?

John T. Haller
John T. Haller's picture
Online
Last seen: 52 min 15 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
APPDATA

Check Application Data for a Mozilla directory. That's how the old version checks if Firefox is installed (and whether to stick around). The newer version is now checking multiple data points because Firefox could have been uninstalled but left that folder behind.

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

Log in or register to post comments