MozillaZine

Explanation of Locked in profiles.ini & installs.ini ?

User Help for Mozilla Thunderbird
bazzaman
 
Posts: 3
Joined: November 30th, 2016, 3:25 am

Post Posted November 6th, 2019, 10:47 am

I've been using Thunderbird (always with just a single profile) for many years and had no problem moving the profile location and moving between machines (all Windows OSs) and editing profiles.ini as necessary.

I've just installed 68.2.1 (x64) under Win10 on a new laptop. As I've generally done before I did the Thunderbird install, then edited the profiles.ini that had been created and put the profile in my desired location (on another partition). In doing so I notiiced a few changes to profiles.ini and also the new installs.ini.

Now the only thing I'm not clear on (and I cannot find any documentation on) is the Locked=1 that appears in profiles.ini and installs.ini. Please can some explain the purpose and usage of Locked?

Everything seems to work fine with or without Locked=1, I'd just like to fully understand the purpose of Locked.

Many thanks.

morat
 
Posts: 3586
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 6th, 2019, 7:12 pm

Here is the file that sets the "Locked" string.

nsToolkitProfileService.cpp
http://searchfox.org/mozilla-release/source/toolkit/profile/nsToolkitProfileService.cpp

Read the comments.

bazzaman
 
Posts: 3
Joined: November 30th, 2016, 3:25 am

Post Posted November 7th, 2019, 2:55 am

Thanks for that.

What I'm getting from that is that as I only have a single profile and a single install of Thunderbird (and don't ever expect this to change), Locked makes no material difference. So I could either leave it out or include as Locked=1 (or even Locked=0 ?). Is that right (for both profiles.ini and installs.ini)?

I should also have asked about Version in profiles.ini. Although I can see this version is used in the insToolkitProfileService.cpp source code linked to, I am unable to deduce when and why this would be set. Any chance of a straightforward explanation please?

morat
 
Posts: 3586
Joined: February 3rd, 2009, 6:29 pm

Post Posted November 7th, 2019, 8:21 am

There is a different init procedure for older versions.

Similar thead
http://support.mozilla.org/questions/1262122

Recovering important data from an old profile
http://support.mozilla.org/kb/recoverin ... ld-profile

Dedicated profiles per installation
http://support.mozilla.org/kb/dedicated ... stallation

Moving to a profile per install architecture
http://blog.nightly.mozilla.org/2019/01 ... hitecture/

bazzaman
 
Posts: 3
Joined: November 30th, 2016, 3:25 am

Post Posted November 15th, 2019, 3:32 am

Apologies for delay in reply - due to ill health!

Thanks for the further info.

This reconfirms what I said before: "as I only have a single profile and a single install of Thunderbird (and don't ever expect this to change), Locked makes no material difference". I.e. I don't need it locked to a particular install, as there is only one install.

I had a good search through the various links and (and onward links). But could not find any more information on "Version". Is there a description of this somewhere?

My profiles.ini has:

[InstallD78BF5DD33499EC2]
Default=D:\BazzaData\AppData\Thunderbird\Profiles\Bazza

[Profile0]
Name=Bazza
IsRelative=0
Path=D:\BazzaData\AppData\Thunderbird\Profiles\Bazza
Default=1

[General]
StartWithLastProfile=1
Version=2

Maybe http://kb.mozillazine.org/Profiles.ini_file could be updated and a further kb entry created for installs.ini ?

LIMPET235
Moderator

User avatar
 
Posts: 38951
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted November 15th, 2019, 4:59 am

@bazzaman...
You mentioned, errr asked...
"Maybe http://kb.mozillazine.org/Profiles.ini_file could be updated and a further kb entry created for installs.ini ?"

Well sir, if you read this thread, you'll see why that just ain't possible ATM.
> viewtopic.php?f=39&t=3055133
Sorry.

Hopefully, things will get sorted out & these fora will continue on into the future.
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
(Always choose the "Custom" Install.)

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 6 guests