X
Tap here to go to the mobile version of the site.

Support Forum

Default profiles for FF 69 and FF 52

Posted

Is it possible to set two *different* default profiles for FF 69 and FF 52 (without using -p path)?

Thank you.

Is it possible to set two *different* default profiles for FF 69 and FF 52 (without using -p path)? Thank you.

Modified by Yaron

Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:69.0) Gecko/20100101 Firefox/69.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17540 solutions 158604 answers

Helpful Reply

Firefox 52 will use the profile that is marked as Default=1 in profiles.ini or the profile you specify with the "-P <profile-name>" command line switch in a desktop shortcut.

Firefox 67 and later can use a dedicated profile and lock this profile against other Firefox installations.

Firefox 52 ESR and 60 ESR do not support this profile lock (you need Firefox 67 or later). I don't know whether Firefox 69 modifies profiles.ini and changes the Default profile setting in some cases. The most problematic is what happens if you open external links in Firefox (default browser and default profile). If Firefox 52 is the default browser then it uses the Default=1 profile without warning. Firefox 69 is smart enough to find and use its own dedicated profile.

Firefox 52 will use the profile that is marked as Default=1 in profiles.ini or the profile you specify with the "-P <profile-name>" command line switch in a desktop shortcut. *https://developer.mozilla.org/en-US/Command_Line_Options Firefox 67 and later can use a dedicated profile and lock this profile against other Firefox installations. *https://support.mozilla.org/en-US/kb/dedicated-profiles-firefox-installation Firefox 52 ESR and 60 ESR do not support this profile lock (you need Firefox 67 or later). I don't know whether Firefox 69 modifies profiles.ini and changes the Default profile setting in some cases. The most problematic is what happens if you open external links in Firefox (default browser and default profile). If Firefox 52 is the default browser then it uses the Default=1 profile without warning. Firefox 69 is smart enough to find and use its own dedicated profile.
Was this helpful to you? 1
Quote

Question owner

Hello cor-el,

Thanks for replying.

Do you know where "C:\Users\---\AppData\Roaming\Mozilla\Firefox" is set in FF 52 source code?

Or perhaps a Registry tweak?

Hello cor-el, Thanks for replying. Do you know where "C:\Users\---\AppData\Roaming\Mozilla\Firefox" is set in FF 52 source code? Or perhaps a Registry tweak?
Was this helpful to you? 0
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17540 solutions 158604 answers

Helpful Reply

This isn't specifically coded in Firefox. This is done by calling Windows Shell functions to get known folder IDs with a possible fallback to the Windows registry. See GetWindowsFolder (#101) and GetRegWindowsAppDataFolder (#179)


Vista and later support SHGetKnownFolderPath directly.

This isn't specifically coded in Firefox. This is done by calling Windows Shell functions to get known folder IDs with a possible fallback to the Windows registry. See GetWindowsFolder (#101) and GetRegWindowsAppDataFolder (#179) *https://dxr.mozilla.org/mozilla-esr52/source/xpcom/io/SpecialSystemDirectory.cpp *https://dxr.mozilla.org/mozilla-esr52/source/xpcom/io/nsDirectoryServiceDefs.h ---- Vista and later support SHGetKnownFolderPath directly. *https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath *https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid
Was this helpful to you? 1
Quote

Question owner

cor-el,

Thank you very much for the detailed and helpful reply. I do appreciate that.

I was hoping it would be at the JS level (I've never built FF).

cor-el, Thank you very much for the detailed and helpful reply. I do appreciate that. I was hoping it would be at the JS level (I've never built FF).
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.