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/ _______________________________________________ Mozilla-xpinstall mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpinstall