Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

update user profiles on first run of new install

  • 3 답장
  • 4 이 문제를 만남
  • 12 보기
  • 최종 답변자: cor-el

more options

After upgrading to a newer version of Firefox (25.0.1) any of the existing user profiles are not getting updated settings...specificly

During the install I have added some new changes for the "default user", if I log start FF as a "new" user (with no profiles under the %appData%\Mozilla folder structure my settings work. But if a profile exists they are not taking effect.

I have moved my Pref Files to:
%ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\Preferences\local-settings.js
%ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\profile\secmod.db <<<=== Is not being copied
%ProgramFiles(x86)%\Mozilla Firefox\mozilla.cfg
%ProgramFiles(x86)%\Mozilla Firefox\Browser\override.ini

Mozilla.cfg

//Firefox Default Settings

// set Firefox Default homepage
//pref("browser.startup.homepage","http://www.XXX.YYY");

// disable default browser check
pref("browser.shell.checkDefaultBrowser", false);
pref("browser.startup.homepage_override.mstone", "ignore");

// disable application updates
pref("app.update.enabled", false)

// disables the 'know your rights' button from displaying on first run 
pref("browser.rights.3.shown", true);

// disables the request to send performance data from displaying
pref("toolkit.telemetry.prompted", 2);
pref("toolkit.telemetry.rejected", true);

//Enables SharePoint Single Sign On
pref("network.automatic-ntlm-auth.trusted-uris", "https://portal.XXX.YYY");

Override.ini

[XRE]
EnableProfileMigrator=0

Local-settings.js

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
defaultpref("browser.startup.homepage", "http://dma.XXX.YYY"); 
defaultPref("browser.newtab.url", "about:blank");
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);
After upgrading to a newer version of Firefox (25.0.1) any of the existing user profiles are not getting updated settings...specificly During the install I have added some new changes for the "default user", if I log start FF as a "new" user (with no profiles under the %appData%\Mozilla folder structure my settings work. But if a profile exists they are not taking effect. I have moved my Pref Files to:<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\Preferences\local-settings.js<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\profile\secmod.db <<<=== Is not being copied<br /> %ProgramFiles(x86)%\Mozilla Firefox\mozilla.cfg<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\override.ini Mozilla.cfg <pre><nowiki>//Firefox Default Settings // set Firefox Default homepage //pref("browser.startup.homepage","http://www.XXX.YYY"); // disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // disable application updates pref("app.update.enabled", false) // disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true); // disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true); //Enables SharePoint Single Sign On pref("network.automatic-ntlm-auth.trusted-uris", "https://portal.XXX.YYY"); </nowiki></pre> Override.ini <pre><nowiki>[XRE] EnableProfileMigrator=0</nowiki></pre> Local-settings.js <pre><nowiki>pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); </nowiki></pre> defaultpref("browser.startup.homepage", "http://dma.XXX.YYY"); defaultPref("browser.newtab.url", "about:blank"); lockPref("app.update.auto", false); lockPref("app.update.enabled", false);

글쓴이 cor-el 수정일시

모든 댓글 (3)

more options

Go to the Firefox tab in the far left corner and go to sync. It should get you all set up there.

more options

While this is great for one user I have hundreds that will potentially need this, I was hoping for something more "programmatic"

ie something I can put in one of the Prefs files!

more options

The local-settings.js file should be in defaults/pref and the file should only contain the two lines to specify the mozilla.cfg file.
Make sure to use the proper case for files and folders and pref function names.
The file shouldn't contain the last 4 defaultPref() and lockPref() calls (note that defaultpref() has the wrong case).

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");

I don't know why initializing a new profile (secmode.db) isn't working if that is what is happening.
You can make changes to existing profile this way.
You can only change prefs for existing profiles with pref() calls in mozilla.cfg.

You can initialize a profile by creating a browser\defaults\profile folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\) and place files like a user.js or a bookmarks.html file in it.
You can create a defaults\preferences folder to initialize prefs.