Re: xpistub

Andrew Schultz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
GuruJ wrote:
> Hi all,
> 
> I'm trying to use the functions in xpistub.dll (XPI_Init, XPI_Install 
> and XPI_Exit) to install XPI packages without launching Mozilla.
> 
> Ideally, I want to use this to write my own custom Mozilla installer, 
> but any experiences would be useful.
> 
> In particular, I need to know:
> * Is there any more documentation for using the dll than that found in LXR?

not that I know of.

> * Should all the associated DLLs be registered with Windows first?
> * Does anyone have sample code that works?  I'd prefer something that 
> isn't C or C++ if possible (Perl?), so that I get a better feel for how 
> to interface with the code using non-native languages.

The examples I know of are:
1. the Mozilla installer wizards (mozilla/xpinstall/wizard)
2. the standalone installer (not yet implemented, there is a working 
patch).  http://bugzilla.mozilla.org/show_bug.cgi?id=77365

The Windows installer is C, the Linux installer is C++.  The standalone 
installer is C++ and insanely simple (it just calls the three 
functions).  Sorry I can't help you with Perl.

-- 
Andrew Schultz
[email protected]
http://ajschult.home.mindspring.com/
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.