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>
>>
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> wpkg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wpkg-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users