Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

I need to silently upgrade from 3.5 to 7 but get an error message after 7 install. Platform version 7.0 is not compatible with minVersion >= 1.9.1

  • 7 réponses
  • 13 ont ce problème
  • 9 vues
  • Dernière réponse par jwdesselle

more options

I'm trying to silently upgrade my environment to FF 7. I've gotten the silent install working great, it puts in my Proxy Server info, reassigns the home page and all that. But, the last version we pushed out was FF 3.5. If a user had that on their PC and they run the FF7 install, they get weird messages when clicking on the icon. XULRunner: Error: Platform version '7.0' is not compatible with minVersion >= 1.9.1 maxVersion <=1.9.1

Another message they get is: AutoConfigAlert: Netscape.cfg/AutoConfig failed. Error: pref failed: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.setBoolPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: prefcalls.js :: pref :: line 70" data: no]

This is on Windows XP

I'm trying to silently upgrade my environment to FF 7. I've gotten the silent install working great, it puts in my Proxy Server info, reassigns the home page and all that. But, the last version we pushed out was FF 3.5. If a user had that on their PC and they run the FF7 install, they get weird messages when clicking on the icon. XULRunner: Error: Platform version '7.0' is not compatible with minVersion >= 1.9.1 maxVersion <=1.9.1 Another message they get is: AutoConfigAlert: Netscape.cfg/AutoConfig failed. Error: pref failed: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.setBoolPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: prefcalls.js :: pref :: line 70" data: no] This is on Windows XP

Toutes les réponses (7)

more options

If you use ZoneAlarm Extreme Security then try to disable Virtualization.

See:

more options

We do not use ZoneAlarm in our environment.

more options

Do you have other virtualization or security software that might protect .ini and possibly other files in the Firefox program folder (C:\Program Files\Mozilla Firefox\) and prevent Firefox from updating them properly?

You need to do a clean reinstall.

Download a fresh Firefox copy and save the file to the desktop.

  • Uninstall your current Firefox version.
  • Do not remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

  • It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.

Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

more options

I have found where the issue comes from. If we have a previously installed copy of FF, Version 3.5 the new install has issues disabling the first run Welcome to Version X.x tab modifying the mozilla.cfg file. //disable first run Welcome to Version X.x tab pref("browser.startup.homepage_override.mstone", false);

If I comment this line things work perfectly.

On a clean install of FF 7, with no previously installed versions, I can leave this line in and the Welcome tab does not show and all is well.

So, I have my FF 7 install check for previous versions, if found it c0mments this line out, if not it does not comment the line out.

more options

You should use the String value "ignore" with quotes instead of false to disable that.

See:

more options

Using 'ignore' the Welcome to X.x tab still appeared. Using false, it doesn't.

more options

Here is what I ended up scripting:

1.    Uninstall old version of Firefox - set to continue on failure
2.    Create 'zcm_installers' folder
3.    Create 'Firefox' folder inside above folder to hold configuration/installation files
4.    If a previous version of FF had been installed, the 'Mozilla Firefox' folder will be left on the computer after the uninstall.
    a. If so, create a folder in 'Firefox' folder called 'No Start Override'
    b. Copy correct mozilla.cfg configuration file into this folder.  (This configuration file is set to allow the first run Welcome tab.  Errors appeared if a user had previous version of FF installed then used our modified mozilla.cfg file which prevented the first run Welcome tab)
5.    Delete old 'Mozilla Firefox' folder - set to continue on failure
6.    If no previous version of FF had been installed, create a folder in 'Firefox' folder called 'Override' (No previous version is verified by PC not having "C:\Program Files\Mozilla Firefox\mozilla.cfg")
    a. Copy correct mozilla.cfg configuration file into this folder, 'Override'.  (This configuration file is set to prevent the first run Welcome tab.)
7.    Launch Firefox 7 installation
8.    Run script - install.cmd (places correct configuration files in correct locations)
 
INSTALL.CMD
REM  This script will:
REM       
REM       + Disables the 'Automatically check for updates' option
REM       + Disables the 'Always check to see if Firefox is the default browser on startup' option
REM       + Changes the download option 'Always ask me where to save files' to enabled
REM       + Works for Windows XP / 7 32-bit and 64-bit 
REM .
REM========================================================================================
echo Installing Firefox - Please Wait.
echo Window will close after install is complete
 
REM Install Firefox 7.0 - ZCM will handle the installation
REM "Firefox Setup 7.0.exe" -ms
 
REM Install 32-bit customizations
if exist "C:\Program Files\Mozilla Firefox\" copy /Y "C:\zcm_installers\Firefox\override.ini" "C:\Program Files\Mozilla Firefox\"
if exist "C:\zcm_installers\Firefox\Override" copy /Y "C:\zcm_installers\Firefox\Override\mozilla.cfg" "C:\Program Files\Mozilla Firefox\"
if exist "C:\zcm_installers\Firefox\NoOverride" copy /Y "C:\zcm_installers\Firefox\NoOverride\mozilla.cfg" "C:\Program Files\Mozilla Firefox\"
if exist "C:\Program Files\Mozilla Firefox\" copy /Y "C:\zcm_installers\Firefox\local-settings.js" "C:\Program Files\Mozilla Firefox\defaults\pref"
 
REM Install 64-bit customizations
if exist "C:\Program Files (x86)\Mozilla Firefox\" copy /Y "C:\zcm_installers\Firefox\override.ini" "C:\Program Files (x86)\Mozilla Firefox\"
if exist "C:\Program Files (x86)\Mozilla Firefox\" copy /Y "C:\zcm_installers\Firefox\mozilla.cfg" "C:\Program Files (x86)\Mozilla Firefox\"
if exist "C:\Program Files (x86)\Mozilla Firefox\" copy /Y "C:\zcm_installers\Firefox\local-settings.js" "C:\Program Files (x86)\Mozilla Firefox\defaults\pref"
 

REM Removes Firefox Desktop Icon - Windows XP
if exist "C:\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk" del "C:\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk" /S
 
REM Removes Firefox Desktop Icon - Windows 7
if exist "C:\Users\Public\Desktop\Mozilla Firefox.lnk" del "C:\Users\Public\Desktop\Mozilla Firefox.lnk"

Modifié le par cor-el