Re: How to XPInstall a plugin and a font on a Macintosh?

Andrea <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization MLP Staff
Message-ID <[email protected]>
Philip Delaquess wrote:
 > We use XPInstall to let our users install the Windows Netscape 6
 > version of our plugin. [..]
 > Now I want to do the same thing on the Mac, having labored many
 > months to port our plugin thereto.
 > [..]
 > But when I hit the big OK button, my script reports a -204 error.
 >
 > I looked up -204 and it equals NO_INSTALL_SCRIPT, with explanation
 > that the "Installation script wasn't signed." Whazzat? From some
 > other posts I just read on this newsgroup, I gathered that Netscape
 > 6.2 doesn't support signed XPIs. I therefore conclude that the
 > *real* problem is that I didn't use the right tools to create the
 > XPI file.
 > On Windows, an XPI file is just a plain ol' ZIP file by another name.
 > Is that also true on the Macintosh? And if so, what is the right
 > tool to create the ZIP, if not Aladdin DropZip?

If I'd was you I would try the same XPI droppin'it on Navigator on
Windows and then I'll check the install.log file to see the results.

If you still get a -204 error, this means the zip file has something
wrong which prevents Moz/NS to see the install.js file on the root
of your archive.

I don't know if repacking under Win32 (e.g. with WinZIP) your XPI
could solve your problem, since I don't know if you need to preserve
special data (e.g. resource fork data). Anyhow taking a look with
WinZIP (e.g. testing the archive) surely wouldn't hurt.

Bye. Andrea

     (_mm_)                                          (_mm_)
      (Oo)        ^     |         (    |              (--)
~,-,_/(°°)      / \ n o| r e a    ) a | m a $ o     (°°)\_,-,~
  /      O         e-mail: [email protected]          ~   WW \
  \   (  )                                            (  )   /
   |~| ||    Do NOT Reply!! Use the address above!     || |~|
    n n nn      O==m PGPkeyavailable ICQ5242052       nn n n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.