Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 3 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от 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!

Всички отговори (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.