Are you trying to create a .xpi file (you mentioned JAR file)?  If so and if you
have a simple plugin file, you can take a look at the install.js in the
flash.xpi file located here:
  ftp://ftp.netscape.com/pub/netscape6/english/6.0/windows/win32/xpi/

Its install.js simply installs whatever is zipped up in its plugins dir into the
Netscape 6's Plugins folder.  All you would have to do is modifty the
initInstall() and addDirectory() functions in the script to reflect the name and
version of your plugin.

You can use this script as a template for now since there doesn't seem to be any
docs around.  The .xpi file is simply a .zip archive (oh, and you can ignore the
CVS dirs in flash.xpi).

Netscape secure wrote:

> Is there any documentation about how to build a plugin package for XPInstall
> installation?
>
> There is fragmented documentation about how to build the install.js script
> on http://www.mozilla.org/quality/smartupdate/xpinstall-testinfo.html and
> the API "documentation" is useless.  (It says real documentation will be
> available shortly, and it's dated August 1st).
>
> What all do I need to put in the JAR file?  Do I need to build this RDF file
> I've seen references to?
>
> I've searched the site and haven't been able to find anything that actually
> explains how to do this.  (or if I'm missing something please point me to
> it)
>
> Thanks.

Reply via email to