Firefox의 이전 업그레이드를 완료하려면 컴퓨터를 다시 시작해야하지만 환경 설정에서 업데이트를 사용할 수 없습니다


2

Windows XP와 Windows 7 호스트 모두에서 Firefox를 이전 버전 (17.0.11 ESR)으로 고정하려고했습니다. 몇 가지를 테스트하려면이 작업을 수행해야합니다. Firefox 자체 업데이트를 중지해야합니다. 보안 문제를 방지하기 위해 업데이트를 권장하지만이 경우 가상 컴퓨터가 실행되는 전용 환경이 있습니다. 테스트가 완료되면 해당 VM을 쉽게 파괴 할 수 있습니다 ...

다음은 특히 Firefox 17 ESR에 대한 작업을 다루지 만 최신 버전의 FF에 적용될 수 있습니다.

다음 줄을 포함하는 INI 스타일 설치 환경 설정 파일을 사용하여 Firefox를 자동으로 설치했습니다.

[Install]
;
; Remove the semicolon (;) to un-comment a line.
;
; The name of the directory where the application will be installed in the
; system's program files directory. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2. If this
; value is specified then InstallDirectoryPath will be ignored.
InstallDirectoryName=Mozilla Firefox 17.0.11esr

; The full path to the directory to install the application. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2.
; InstallDirectoryPath=c:\Program Files\Mozilla Firefox\

; By default all of the following shortcuts are created. To prevent the
; creation of a shortcut specify false for the shortcut you don't want created.

; Create a shortcut for the application in the current user's QuickLaunch
; directory.
QuickLaunchShortcut=false

; Create a shortcut for the application on the desktop. This will create the
; shortcut in the All Users Desktop directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
DesktopShortcut=false

; Create shortcuts for the application in the Start Menu. This will create the
; shortcuts in the All Users Start Menu directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
StartMenuShortcuts=false

; The directory name to use for the StartMenu folder (not available with
; Firefox 4.0 and above - see note below).
; note: if StartMenuShortcuts=false is specified then this will be ignored.
; StartMenuDirectoryName=Mozilla Firefox

; The MozillaMaintenance service is used for silent updates and may be used
; for other maintenance related tasks.  It is an optional component. 
; This option can be used in Firefox 16 or later to skip installing the service.
MaintenanceService=false

설치 실행 파일은 다음 인수와 함께 호출됩니다.

/INI=c:\temp\17.0.11esr\unattended-install.ini

유지 관리 서비스가 설치되지 않았으며 실행되고 있지 않습니다. 나는 그것을 확인했다.

에 명시된대로 지침을 따랐습니다.

http://kb.mozillazine.org/Locking_preferences

잠긴 기본값을 작성합니다.

"local-settings.js"라는 파일을 만들어 Firefox 설치 디렉토리의 "defaults \ pref"하위 디렉토리에 배치했습니다. 파일에는 다음 두 줄이 있습니다.

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

"mozilla.cfg"라는 구성 파일을 만들어 Firefox 설치 디렉토리에 배치했습니다. 파일에는 다음 줄이 있습니다.

//
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);
lockPref("app.update.service.enabled", false);
lockPref("extensions.update.enabled", false);

마지막으로 Firefox 설치 디렉토리의 "defaults \ pref"하위 디렉토리에있는 "channel-prefs.js"파일에서 릴리스 채널을 "default"로 변경했습니다. 보다

http://kb.mozillazine.org/App.update.channel

자세한 내용은.

about : config 항목을 확인하면 기본 설정이 실제로 설정되고 잠겨 있음이 표시됩니다. 정보 창 (도움말-> Firefox 정보)에 "관리자가 업데이트를 비활성화했습니다"라는 메시지가 표시됩니다. 옵션의 고급 탭에있는 해당 필드는 회색으로 표시되고 비활성화됩니다.

Firefox를 설치하고 구성한 후 잠시 동안 브라우저를 사용할 수 있습니다. 그런 다음 "firefox.exe"는 아이콘을 아이콘과 같은 설치 또는 설정 파일로 변경합니다. 많은 파일이 복사 또는 이동되고 (?) 확장자가 " .moz-delete"및 " .moz-update"입니다.

그리고 무엇보다도 다음과 같은 알림 창이 나타납니다.

Your computer must be restarted to complete a previous upgrade of Firefox. Do you want to reboot now?

문제는이 알림이 팝업되고 더 이상 브라우저를 안정적으로 사용할 수 없다는 것입니다.

누구 든지이 동작을 보았으며 정확히 무슨 일이 일어나고 있는지 설명해 줄 수 있습니까? 어쨌든 재부팅이 필요한 이유는 무엇입니까? 그리고 가장 중요한 것은 어떻게 이런 일이 발생하지 않도록 할 수 있습니까?


그들이 2 개의 쉼표로 구분 된 항목에 공백을 두는 것이 이상합니다. 일부 프로그램에서는 문자열을 사용하여 공간이 전체 데이터 "false"의 일부로 해석 될 수 있습니까? 나는 당신이 그 관찰에 근거하여 재시험을하지 않기를 바랍니다. 그냥 이상해 보인다.
— Psycogeek

@Psycogeek 이것은 JavaScript 코드이며 실제로 두 개의 인수로 호출되는 함수입니다. 말했듯이 환경 설정이 변경되어 잠겨 있기 때문에 작동합니다. FF는 해당 파일의 실수에 대해 매우 관대하지 않습니다. 환경 설정이 잘못된 경우에도 시작되지 않습니다 ...
— tarak

재부팅을 요청하는 것이 Firefox입니까, 아니면 다른 프로그램입니까?
— vWil

알림 창에는 경고 아이콘이 있으며 창 제목은 "Setup"입니다. "이전 Firefox 업그레이드를 완료하려면 컴퓨터를 다시 시작해야합니다. 지금 재부팅 하시겠습니까?"라는 메시지가 표시됩니다. 그게 내가 아는 전부 야.
— tarak
당사 사이트를 사용함과 동시에 당사의 쿠키 정책과 개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.