On Mon, 2007-11-12 at 11:27 +0900, Gregory Orange wrote: > I have used a script to (among other things) set up our proxy to a > particular autoproxy using information from the following page. I just > run a batch file with the necessary changes after the Firefox > installation finishes (or as part of the same batch file that calls the > Firefox install).
Interesting approach, although I am still not clear on the details (I can't seem to see the batch file anywhere in the page given - am I bind?) This might be better then what I have. > http://www.int-evry.fr/s2ia/user/procacci/netscape/en/mozilla-autoconfig-en.html#htoc18 After my email I found another approach at: http://szone.berlinwall.org/node/105 which says how to extract the files from the *.exe file and how to change the settings. Then I found: http://www.mozilla.org/projects/firefox/l10n/localize-release.html which gives the basic procedure for repackaging firefox again. The steps given seem to be broken, the stage directory should not go under the firefox tree, as otherwise you end up creating an app.7z which contains the previous copy of app.7z. However the page does give download links to 7zSD.sfx and app.tag (watch you get the actual file and not a HTML page that links to the file) which are required. I modified the steps and created a Unix shell script instead: === cut === #!/bin/sh -ex LANG=enu VERSION=2009 STAGE=firefox-$VERSION-$LANG.stage rm -rf $STAGE find firefox-$VERSION-$LANG -name "*.bak" | xargs rm cd firefox-$VERSION-$LANG/ 7z a -t7z ../$STAGE/app.7z * -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3 cd .. cp app.tag $STAGE cp 7zSD.sfx $STAGE upx -9 $STAGE/7zSD.sfx cat $STAGE/7zSD.sfx $STAGE/app.tag $STAGE/app.7z > firefox-$VERSION-$LANG.exe rm -rf $STAGE === cut === It seems to work. The downside of this method though, is I have to redo the changes with every release of firefox. -- Brian May <[EMAIL PROTECTED]> Victorian Partnership for Advanced Computing ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info