Please don't do that. There is seldom a good reason to unpack and repack
omni.ja and you could break things.

https://mike.kaply.com/2013/05/06/dont-unpack-and-repack-omni-jar/

Mike Kaply

On Fri, Aug 19, 2016 at 7:09 AM, Gunnar Haslinger | bmlvs.gv.at <
gunnar.haslin...@bmlvs.gv.at> wrote:

> As Thomas Besser <thomas.bes...@kit.edu> asked for Information regarding
> modifying search-Engines in FF45esr I send a Message I already sent in
> May this year again:
>
>
> To modify the Search engines in Firefox 45 ESR:
>
>
> Extract the Setup.exe (using e.g. 7zip)
> Inside the extracted Setup Package you find "core\browser\omni.ja"
> be aware there are zwo "omni.ja" Files, pick the right one in
> core\browser\omni.ja
>
> extract the omni.ja into a directory by using Infozip unzip.exe as follows:
> unzip omni.ja -d omni.ja.extracted
>
> Infozip: https://sourceforge.net/projects/infozip/files/
>
>
> inside "omni.ja.extracted" you find:
> chrome\en-US\locale\browser\searchplugins\...
> delete all Files there you don't like and add your own searchplugins as
> you like
> modify the textfile list.txt by using for example notepad++ (be aware
> the file is UNIX-Style newline and UTF8 w/o BOM, Notepad++ handles this
> correct)
>
>
> now generate the patched omni.ja from scratch using zip.exe of infozip
> Package.
> First delete the current omni.ja, then generate a new one by using
> following Syntax:
> Open a Command-prompt inside the "omni.ja.extracted" directory, from there:
> ..\infozip\zip.exe -qr9XD ..\omni.ja *
>
> ... * = all contents of the current directory "omni.ja.extracted"
> relatively stored inside omni.ja
>
>
> Warning: Just patching omni.ja by deleting single files by using zip.exe
> -d omni.ja "chrome\en-US\locale\browser\searchplugins\xyz.xml" doesn't
> work, Firefox will not work correct afterwards.
>
> Building the omni.ja as described from scratch tested in depth - runs fine.
>
> If you are using additional Language-Packs as Add-Ons do the same ad
> these *.XPI-Files there.
>
> regards,
> Gunnar
>
>
>
>
>
>
> _______________________________________________
> Enterprise mailing list
> Enterprise@mozilla.org
> https://mail.mozilla.org/listinfo/enterprise
>
> To unsubscribe from this list, please visit https://mail.mozilla.org/
> listinfo/enterprise or send an email to enterprise-requ...@mozilla.org
> with a subject of "unsubscribe"
>
_______________________________________________
Enterprise mailing list
Enterprise@mozilla.org
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
enterprise-requ...@mozilla.org with a subject of "unsubscribe"

Reply via email to