> Can't do that in any simple way, XPInstall deals with file-sized chunks and
> you need a zip utility to modify an existing file. If you didn't mind being

But - XPIs that add a button to a toolbar, or modify a menu, *do*
modify files within existing .jar file do they not?  I've looked at
them, and the only files contained in their compressed files are those
that they want changed.  Somehow the contents of the files in the .jar
included in the XPI are simply added to the existing file structure
(or the few files replace those of the same name that already exist)
rather than replacing the current tree entirely.

For example, I have an XPI that I've download which has a .jar that
contains "content" and "skin" folders.  When the XPI is run it does
NOT delete the existing content and skin directory trees in the
Mozilla directory, but only modifies / adds to those files and folders
that it contains.

Reply via email to