[wpkg-users] firefox upgrading users profiles

éric le hénaff eric.le.henaff at ens.fr
Fri Jun 8 23:34:31 CEST 2007


Sorry, it was just an example about chnaging file for firefox with wpkg 
but not an exact solution to configure proxy.

Vincent MALIEN a écrit :
>   thanks for this,
>
> If I understood well,
> %PROGRAMFILES%\Mozilla Firefox\defaults\pref\firefox.js define the table variable 'perf' for global settings,
> %APPDATA%\Mozilla\Firefox\Profiles\*\prefs.js define the table variable 'user_perf' for user settings.
> I tried to put in firefox.js:
> pref("network.proxy.http", "192.168.x.x");
> pref("network.proxy.http_port", 3128);
> pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, 192.168.x.0/24");
> pref("network.proxy.type", 1);
>
> lines which were originaly in prefs.js, but firefox didn't take it in account. 
> I think proxy is defined as user setting because it have to be changed by used when the PC is on severals netwoks (e.g. laptop)...
>
> But it's more a mozilla question than a wpkg one...
>
> éric le hénaff a écrit :
>   
>>     
>>> One can configure a proxy globally for all users in 
>>> %PROGRAMFILES%\Mozilla Firefox\ - there is no need to do it for each 
>>> and every user.
>>>
>>>
>>>       
>> so it can be done by wpkg.
>> here under is an example i'm using to set the autoupdate off.
>>
>>
>> <!-- configuration de firefox pour les bibs
>>    1- pas de mise a jour automatique de FF
>> Note : ne pas mettre de caracteres nationaux dans ce fichier, ca fait 
>> planter wpkg.js
>> -->
>> <package
>>  id="firefox-config"
>>  name="firefox-config"
>>  revision="1"
>>  reboot="false"
>>  priority="0">
>>
>>  <depends package-id="firefox"/>
>>        <check type="file" condition="exists" 
>> path="%programfiles%\mozilla firefox\defaults\pref\firefox.js" />
>>
>>       <install cmd='xcopy  /y /q "%SOFTWARE%\firefox\firefox.js" 
>> "%programfiles%\mozilla firefox\defaults\pref\"' >
>>            <exit code="0" />
>>        </install>
>>        <upgrade cmd='xcopy  /y /q "%SOFTWARE%\firefox\firefox.js" 
>> "%programfiles%\mozilla firefox\defaults\pref\"' >
>>            <exit code="0" />
>>        </upgrade>
>> </package>
>>
>>     
>

wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list