Thanks for the info, although I seem to be having a new problem now. When I
click on my XPI file as a link on a page, the browser will either: display
the file as garbage in the window, or bring up the Save As or Open dialogue.
But, if I goto the example page with Barley.xpi, it corretly brings up the
Install dialogue.  So, it's not a browser issue.

I'm building the XPI as a zip, then inserting my .js and dll file, then
renaming to xpi.  Is there some way I have to set a mime-type for this file?
Does netscape pre-validate the XPI before it decides what to do?  Although,
it correctly installs my dll when I open it as a local file.

Thanks

"Sean Su" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Forgot to mention that you'll also need to update the srDest variable to
reflect how
> much disk space your files will take/require.
>
> Sean Su wrote:
>
> > 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