- Firefox Profile Separation (bootstrap.ini)
- bootstrap.ini Settings
- bootstrap.ini=%AppData%\Firefox\%version%\bootstrap.ini
- ...possibly redirecting the global bootstrap.ini somewhere else...which would allow different users of the computer to have their own bootstrap.ini...
- ProfileDir=%AppData%\%AppName%\%version%
- NewProcessOnRun=1
- ...actually this should be the default...
- NewProcessOnNewWindow=0
- ...default off?...
- AppVendor=
- ...or whatever variable "Mozilla" is in...
- AppName=Firefox
- ...or whatever variable "Firefox" is in...
- Separate Process: Profile Handler
- Separate Process: Plugins
- Read-Only Mode
- Problem with all this
- Safe Profile Migration
- Installer: Custom Install Options
- Install dir
- ...it already does this...
Syntax: %ProgramFiles%\%AppName%\%version%
Decoded: C:\Program Files\Firefox\3.0 - AppData/Profile dir
- Syntax: %AppData%\%AppName%\%version%
Decoded: %AppData%\Firefox\3.0 - Start Menu icon install dir
- ...I think it already does this...
Syntax: %AllUsersStartMenu%\%AppName%\%version%
Decoded: %AllUsersProfile%\Start Menu\Firefox\3.0 - Installer: Change... Support
- Uninstaller: Smarter
- All Software
- Sorta in reply to...
...for example in Open Office, I can install it in its own folder...
- C:\Program Files\Open Office\2.4.1
- C:\Program Files\Open Office\2.4.1\program\bootstrap.ini
- UserInstallation=$SYSUSERCONFIG/OpenOffice.org2
- UserInstallation=$SYSUSERCONFIG/Open%20Office/2.4.1
I would like to be able to "bootstrap" Firefox like this...actually, I would prefer if the Firefox Profile dir was automatically bootstrapped, for example, when Firefox is installed, I'd like it to default to...
- C:\Program Files\Firefox\3.0
- %AppData%\Firefox\3.0
Yes! I have read ALL of the things about "running Firefox 2 & Firefox 3 at the same time"...all of them use the -p command line param...but this is not reliable...since ANY program that accidentally runs Firefox 3 without the -p switch will bork the Firefox 2 profile dir...
I don't know what the -no-remote switch exactly does...but these bootstrapped Firefox's should automatically allow running both at the same time without needing it...for example...running...
- C:\Program Files\Firefox\2.0\Firefox
C:\Program Files\Firefox\3.0\Firefox
Using ANY method to run Firefox pointing at another version's profile dir SHOULD provide a warning...
- Warning: You are attempting to run Firefox 3.0 with a 2.0 profile directory...
[Migrate 2.0 to 3.0] [Run 2.0 with 2.0 profile] [Run 3.0 with 3.0 profile] [Cancel]
- In the new Firefox bootstrap.ini I would like settings for...
- A further improvement would be to have a process handle profile data & another handle browsing...for example, in IE (yes, I know yuck) if you open a new window, it's in the same iexplore.exe process, but re-run it from the desktop (or any other method), you get a new iexplore.exe process...if one crashes, the other doesn't!...I would like this for Firefox, a way to run Firefox in a new process, without corrupting profile data OR using separate profiles OR using a cmd line param (cmd line params can't be added to "App Paths" for example {plus updating all Firefox shortcuts would be pain}...I would like this new process behavior to be default, but an option in the new bootstrap.ini would be fine too {since it would affect ALL ways of "running" Firefox.exe})...I know the optimal solution is to "fix the bugs that make Firefox crash" instead of just running a separate "crashable" process, but on the very few cases I've used IE, I like opening different sites in different processes, so if one does crash, I don't lose every site.
One way to do this would be a FirefoxProfile.exe which would "handle requests" related to profile reading/writing...so you run Firefox.exe, if FirefoxProfile.exe isn't running (with a matching version's mutex {the mutexs should be based on version AND install dir}), it would start it, if it is running the new process would talk to it...on the other hand if you can simply sync multiple Firefox.exe's reading/writing to the same profile (like I guess IE does), that might be good, but a crash still needs handled cleanly, so using a separate FirefoxProfile.exe that wouldn't have a reason to crash (no site loading, no buggy plugins)...of course when FirefoxProfile.exe does crash, it needs restarted & any corruption cleaned up & the existing Firefox.exe's need to re-link to the new FirefoxProfile.exe.
Doing this might make it possible to install addons/themes "without a restart"...cuz the FirefoxProfile.exe could restart (without destroying the Firefox.exe windows) & when it restarts it would re-initialize/re-paint all the windows with the new profile data...while FirefoxProfile.exe is down existing Firefox.exe's would be semi-frozen, you could interact/scroll the current page & maybe back/forward with cached pages, but anything that writes to the profile would have to wait until FirefoxProfile.exe is back up.
When FirefoxProfile.exe "crashes" it should auto-restart, but "End Task"ing FirefoxProfile.exe should leave it dead, until you manually re-run it...so you could kill it/exit it, edit prefs.js, re-run it & it would read the new prefs.js (for one example)...the semi-frozen Firefox.exe's could have a msg "The Firefox Profile Handler is not running would you like to restart it?"...
- It would be good to load Plugins in a separate process too...then plugin crashes wouldn't kill all the sites/open windows...FirefoxPlugin.exe...& you could restart that component without a full Firefox restart too...
- It might be nice to have a read-only mode (not just via cmd line param), where you can specify a profile to read but not save to, so you could set that as the http & .html file handler, then selecting Help in external apps would load a read-only Firefox (in a new process)...leaving your main profile untouched...
- One thing hampering all this is Firefox 1.0 1.5 2.0 & 3.0 all write to the same profile dir, so a change now only helps the future, unless they re-release previous versions with this new install scheme...I would be fine with only a 2.0 patch & 3.0 patch going forward...
- There should be some way to trigger Safe Profile Migration without re-installing...& without having to bork the profile you are migrating from...
- It's been awhile since I installed Firefox (I have 2.0 & have not installed 3.0 yet due to this profile issue {but I did download on Download Day to support Firefox!})...but the "Custom" or "Advanced" options on the installer need a way to specify...
- The installer needs to utilize the "Change" option & allow Changing any of the install options, which would move & re-link anything that you change...like if you click Change & change the install dir from C:\Program Files\Firefox to C:\Program Files\Firefox\3.0 it would move that directory & re-point any shortcuts related to that version...(& if the http or .html file handler are currently pointing to that version's old dir, they would be updated too)...
- Uninstalling should do the Right Thing...only uninstall the matching version's install dir (& perhaps empty parent dirs)...& the matching version's profile dir (if that option is checked during uninstall)...
- Technically I think ALL software should install this way by default (even Open Office)...versioned install dirs, versioned AppData dirs, versioned reg keys, versioned HKLM - Uninstall Keys...makes for clean install & uninstall of multiple versions...
