This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

\defaults\profile\prefs.js in Thunderbird 52.x.x

  • 3
  • 1 nwere nsogbu anwere nsogbu a
  • 1 view
  • Nzaghachi ikpeazụ nke Balázs Meskó

more options

In our company we deploy Thunderbird with WPKG. Every second or third release I extract the setup.exe, and do some changes in it. For example we set a sig_file for user, or set extensions like AddressbookSynchronizer and to make it automate we write into prefs.js a lots of line, like as " user_pref("mail.identity.id1.attach_signature", true); user_pref("mail.identity.id1.htmlSigFormat", false); user_pref("mail.identity.id1.reply_on_top", 1); user_pref("mail.identity.id1.sig_bottom", false); user_pref("mail.identity.id1.sig_file", "S:\\alairas.html"); user_pref("mail.identity.id1.sig_file-rel", "[ProfD]../../../../../../../../S:/alairas.html"); user_pref("mail.identity.id1.sig_on_fwd", true); "

That is an example.

So here comes the problem: In the 45.x.x release it is worked to set some changes for the user automatically, but in the 52.x.x release somehow it is not working. I attach a picture, where you can see the path where I always copy some files then I pack it back and create a customized setup.exe.

So do you know, were there any changes in this settings? Please ask if you don't get is clearly.

Thanks for the answers! See ya!

In our company we deploy Thunderbird with WPKG. Every second or third release I extract the setup.exe, and do some changes in it. For example we set a sig_file for user, or set extensions like AddressbookSynchronizer and to make it automate we write into prefs.js a lots of line, like as " user_pref("mail.identity.id1.attach_signature", true); user_pref("mail.identity.id1.htmlSigFormat", false); user_pref("mail.identity.id1.reply_on_top", 1); user_pref("mail.identity.id1.sig_bottom", false); user_pref("mail.identity.id1.sig_file", "S:\\alairas.html"); user_pref("mail.identity.id1.sig_file-rel", "[ProfD]../../../../../../../../S:/alairas.html"); user_pref("mail.identity.id1.sig_on_fwd", true); " That is an example. So here comes the problem: In the 45.x.x release it is worked to set some changes for the user automatically, but in the 52.x.x release somehow it is not working. I attach a picture, where you can see the path where I always copy some files then I pack it back and create a customized setup.exe. So do you know, were there any changes in this settings? Please ask if you don't get is clearly. Thanks for the answers! See ya!

All Replies (3)

more options

Ez az MDN bejegyzés leírja hogy kell használni a preference fájlokat: https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences

A prefs.js közvetlen szerkesztése nem jó ötlet.

more options

Köszönöm a választ!

Igyekszem elkerülni a közvetlen szerkesztést. Ha a user.js-t bemásolom az %appdata%-n belül található profile mappába, minden remekül megy. Viszont én ezt a user.js-t hova rakjam a setup.exe-n belül, hogy működjön és beállítsa nekem a user_prefeket? Mellékelek egy képet ott látható az elérési útja. Azóta átneveztem a prefs.js-t user.js-re, de továbbra sem másolódik át, míg a többi mellette található fájl igen...

Köszönettel: Szabó Roland

more options

Szerintem jobban járnál ha nem a telepítőbe akarnád beleerőltetni. Én összeraknék egy Nullsoftos telepítőt (http://nsis.sourceforge.net/), ami lefuttatja a Thunderbird telepítőt, valamit bemásolja az összes konfigurációs fájlt is.