therube wrote:Let me see if I've got the right ...
Short answer, yes I think you have.
I'll answer each point in-line.
therube wrote:-profile is used to specify a profile location, without the need for it being specifically
referenced in profiles.ini?
Nearly correct (that are ALL in the "profile.ini" AND I can start Fx, using the shortcuts, to use ANY Fx Profile).
For clarification:
All the Profiles were created using the 'built into Firefox' Profile Manager. The "Don't ask at startup" is unchecked.
The "Profile.ini" has
as the very top.
So, when I start Firefox I can choose which Profile to use, or press the "Create Profile" button etc.
Also, for clarification, when I say "... start Fx, using the Profile Manager, ..." (as I have said several times in this thread)
this is what I have been trying to convey: start Fx using this 'built into Firefox' Profile Manager.
For many months I have used a set of Shortcuts. These have not changed.
I think I have started Firefox hundreds of times (from October 2011 to 19 April 2012) using this set.
Often I had two Fx, using separate Profiles, running at the same time.
My most typical usage was one Profile for web email while another was general browsing.
Until I noticed the odd phenomena I might only have used the 'built into Firefox' Profile Manager
once or twice in more than 6 months usage. Also, you'll remember, I was on Fx 3.6.xx for most Profiles
until 20 April 2012 (just one Aurora Profile – per Windows User).
Shortcuts
An anonymised example (I've changed the Windows User Name) of one of the 'shortcut Target: field' is
Code: Select all
"C:\Program Files\Mozilla Firefox\firefox.exe" -profile
"C:\Users\UserNOAdmin\AppData\Roaming\Mozilla\Firefox\Profiles\v0kx56co.20-TestNR" -no-remote
This actual example is a new shortcut that I created as I did the STR.
All the other 'real everyday shortcuts' have NOT changed since 06-Oct-2011.
Also, there are no spaces in the Profile Names. All were working well for many months.
Indeed, I've been using the "-no-remote" for years.
So, to reword your question.
therube wrote:-profile is used to specify a profile location,
Yes, the 'full path' - as in the example (above in this post and in previous posts in this thread).
therube wrote:without the need for it being specifically referenced in profiles.ini?
All the Profiles are referenced in the "profiles.ini" it is just that WHEN Fx is started using one of the
many Shortcuts (one per Profile) the effect of the 'shortcut Target: field' is to
directly use the Profile.
The "profile.ini" is not used.
As the "profile.ini" is not used, the Modified Date and Time (of the "profile.ini") do not change.
therube wrote:That said, does AtoZandNumbersRandom.ProfileNameHere also exist in profiles.ini?
Yes they all are present. Here is part of the "profile.ini" file:
Code: Select all
[Profile11]
Name=15-NS-Dev
IsRelative=1
Path=Profiles/t5uutz5a.15-NS-Dev
[Profile12]
Name=20-TestNR
IsRelative=1
Path=Profiles/v0kx56co.20-TestNR
Default=1
The last profile used, 20-TestNR, is in this example the 'default'. It has "Default=1" in
the "profile.ini" and if I were to start Fx, using the Profile Manager, "20-TestNR" would be the highlighted
Profile in the dialogue.
therube wrote:If so, how does: firefox.exe -P AtoZandNumbersRandom.ProfileNameHere -no-remote react?
I had not tried that. You'll have noticed that all my Shortcuts give the 'Full Path' to the Profile.
So I tried to Run:
firefox.exe -P v0kx56co.20-TestNR -no-remote and
it started the
Aurora Profile Manager (Choose User Profile).
FYI, "C:\Program Files\Aurora\firefox.exe" is the full path to Aurora: the Program is "firefox.exe".
So I tried
"C:\Program Files\Mozilla Firefox\firefox.exe" -P v0kx56co.20-TestNR -no-remote
and I got a "Profile Missing"
Code: Select all
Your Firefox profile cannot be loaded. It may be missing or inaccessible.
I am NOT surprised - I always thought that I needed the full path.
So I tried the full command from the shortcut, which gives the full path to the Profile.
Code: Select all
"C:\Program Files\Mozilla Firefox\firefox.exe" -profile
"C:\Users\UserNOAdmin\AppData\Roaming\Mozilla\Firefox\Profiles\v0kx56co.20-TestNR" -no-remote
This worked. The date and time of the Profile "v0kx56co.20-TestNR" changed.
I then closed Fx.
I then started Fx, using the Profile Manager, and chose a
different Profile (to move the "Default=1")
and closed it. The Date and Time of "profile.ini" changed.
Then I tried, in "Run"
Code: Select all
"C:\Program Files\Mozilla Firefox\firefox.exe" -profile
"C:\Users\UserNOAdmin\AppData\Roaming\Mozilla\Firefox\Profiles\v0kx56co.20-TestNR" -no-remote
and it started the Test Profile again.
therube wrote:Are the shortcut Start in: directories the same?
Yes, they are all "C:\Program Files\Mozilla Firefox" for Firefox.
The Aurora Shortcuts with "-no-remote"
Start in: "C:\Program Files\Aurora", as you would expect.
Again, no change since 06-Oct-2011, to ANY of the shortcuts except the NEW ones made for the STR.
therube wrote:If you move the (or use a) profile from some "special" location (aka \AppData\Roaming\) to
somewhere else (like a C:\TMP\) does the problem persist?
I have not tried that.
therube wrote:Running as the same user & at the same user level in all cases?
Yes.
therube wrote:Confirm that you are actually opening the particular profile that you think you are. Observe the
parent.lock file that gets created when a profile is opened might be one way.
This is where we have some interesting results.
First: open two Windows Explorer windows
One - LOCAL
Code: Select all
C:\Users\UserNameHere\AppData\Local\Mozilla\Firefox\Profiles
Two - ROAMING
Code: Select all
C:\Users\UserNameHere\AppData\Roaming\Mozilla\Firefox\Profiles
Note the Date and Times of the
subfolder of the Profile that you are about to use.
1. If you start Fx, using the Profile Manager, then close it: you do NOT have to browse away from
your start page. FYI, I use 'blank'. You will see that BOTH Local and Roaming will now
have the Date and Time of WHEN you CLOSED Fx.
2. If you start Fx using one of your shortcuts, that has a "-no-remote" switch (as in the example
above in this post), then close it. You will now have the Date and Time of WHEN YOU Closed Fx
ONLY on the Roaming Profile NOT the Local Profile.
therube wrote:... Observe the parent.lock file ...
The
parent.lock file is only in the Roaming Profile. It has the date and time when
you started Fx. When you close Fx it is destroyed.
This happens in
BOTH start Fx, using the Profile Manager,
AND start Fx using one of your shortcuts, that has a "-no-remote" switch.
This point, about the
parent.lock file, is just what we would expect.
However, the point about the LOCAL Profile Date and Time NOT changing, when you
start Fx using one of your shortcuts, that has a "-no-remote" switch:
suggests that nothing is written. I speculate wildly that it is bypassed and nothing is READ either.
therube wrote:The only extension installed is NoScript? And all plugins are disabled?
Yes, only NoScript in the "v0kx56co.20-TestNR" Profile.
I can reproduce with all plugins disabled.
I did another full STR with all plugins disabled and then only NoScript. Profile "22-TestNR".
therube wrote:And if not, then if run that way, do you run into the same problem?
I can ALSO reproduce, as you have seen in the
Pictures #01, #07 and #08, when there are other extensions.
therube wrote:Confirm the location & version (size should suffice) of all installs of NoScript (so
Profile|instalDir/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi).
I have not checked ALL the XPIs again. The files are where I previously reported, they are
all very recent. I am sure they are all now NoScript 2.4.1rc3 (09 May 2012 23:09) apart from
some test NoScripts for the STR. I've not done the Update to NoScript 2.4.2rc1 (12 May 2012 20:44).
therube wrote:An XPI is simply a ZIP file. So you can open it with 7-zip or WinRAR or whatever you might use for
ZIP's. Within the ZIP (XPI) is a file install.rdf. Open that with a text editor (or file viewer) & you
should find the XPI's version number referenced within. You could compare file sizes, but it is conceivable that
two versions could be the same size, though in actuality, in NoScript's case, that is not very likely.
This last point, is very helpful information. Thank you.
You will recall from
Pictures #07 and #08 (posted Fri May 11, 2012 8:13 pm) that
DJ-Leith wrote:If I start Fx, using the Profile Manager, and select "2... ..." then everything is NoScript 2.4.1rc3.
...
However, if I start Fx, using the shortcut ... ... apparently,
two versions of NoScript: 2.4.1rc1 and 2.4.1rc3.
I copied the {73a6fe31-595d-460b-a920-fcc0f8843232}.xpi from the Profile that
was used to produce
Pictures #07 and #08
I used 7-Zip to extract it and the "install.rdf"
does contain <em:version>2.4.1rc3</em:version>.
This confirms what I thought: this Profile
is 2.4.1rc3.
I now tried the following experiment.
Start Fx, using the shortcut.
Type "about:config" in the Address Bar, edit "noscript.version" from 2.4.1rc1 to become
2.4.1rc2 - this is NOT true. Close the Tab.
Type "about:config" again and check that the
2.4.1rc2 is still present.
The Date and Time of "prefs.js" is the time of the edit. Close Fx.
Copy the "prefs.js" to another location. Edit with e.g. Notepad, and find it contains
Code: Select all
user_pref("noscript.version", "2.4.1rc2");
Start Fx, using the shortcut. All is
as before i.e. as in
Pictures #07 and #08, so I don't know where
the
2.4.1rc1, which is now back in the "prefs.js", is 'coming from'. Remember we KNOW it is
is 2.4.1rc3.
A cache???
DJ-Leith