IMPORTANT: Per accedir als fitxer de subversion: (sense password). Poc a poc s'aniran migrant els enllaços. Encara però funciona el subversion de la farga però no se sap fins quan... (usuari: prova i la paraula de pas 123456)

NOTA: De moment els passos que hi ha són per a l'instal·lador de Firefox per a Windows. A Linux, per a sistemes de la família Debian com Ubuntu instal·lem Firefox per paquets Debian, per tant el que caldria és Crear un paquet Debian a mida o potser un paquet Debian que configures Firefox


Exemple de com afegir un addon a l'instal·lador de Windows de Firefox 4



Es tracta d'un exemple que instal·la el addon de CCK a l'instal·lador. Al integrar el CCK a l'instal·lador no cal instal·lar-lo a posteriori i a més té l'avantatge que s'instal·la per a tots els usuaris del sistema!

Canviar configuracions generals


One of the things I’ve alluded to in a few posts but failed to actually post is how to manually repackage a Firefox 2 installer on Windows. This post will remedy that situation.

We have documented at least three different cases where we would need to manually repackage the installer (cases where the Firefox Release Repackager won’t work). These cases included packaging more than two extensions, needing to update the list of files that are removed by the installer and most recently, replacing setup.exe with a rebranded version. Let’s talk about how we can manually repackage the installer.

First thing is to download the installer we want to repackage and unzip it using 7-Zip. For our example, we’ll use Firefox Create a directory and then download Firefox Setup Execute the following command to extract the contents of the file:

7z x "Firefox Setup"

This will unpack the contents into the directory. After you have unpacked the file, move “Firefox Setup” into a different directory or remove it.

Next we make the updates we want to make, such as replacing setup.exe, changing removed-files.log or adding additional extensions. After we’ve made our changes, we want to repackage the files into a 7-Zip archive.

7z a -r -t7z app.7z -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3

This will create a file called app.7z that contains our files. Note that I can’t tell you what all those parameters do – those are copied directly from the Firefox build scripts.

For the next step, we’ll need to download a file and create a file. We need to download 7zSD.sfx which is the self-extracting installer. You can download it here. Then we need to create a file called app.tag that looks like this:

;[email protected]@!UTF-8!
Title="Our New Name"
;[email protected]@!

app.tag is used to tell the self extracting installer what file to run after the files are extracted. I’m not sure what “Title” is used for.

Now that we have all the files, we can actually create the installer:

copy /B 7zSD.sfx+app.tag+app.7z our_new_installer.exe

The “/B” is very important! It tells copy that these are binary files so it doesn’t add extra characters to the files.

And that’s it. We now have a self extracting installer with our customizations.

Package for Large Installs

If you are a network administrator that has a lot of installs to do, you can modify the Firefox installer.

  1. Use a tool such as 7-zip to extract Firefox Setup 2.x.x.exe
  2. Extract browser.xpi from the setup
  3. Edit all.js contained in browser.xpi contained in binjreprefs
  4. Modify the entries as in items 4 and 5 above
  5. Re-package browser.xpi and use the extracted setup to install Firefox
  • Special Notes

Linux Ubuntu


Crear els instal·lador de Windows des de Linux

Consulteu Client_Customization_Kit#Passos_per_a_fer-ho_des_de_Linux

Vegeu també

Enllaços externs