You can do that right now with xpinstall.  However, the core engine of it requires xpcom which takes about 3.6 MB total (including xpinstall).  It's not quite slim at the moment.  The initial installer size will be about ~200k or less ( hopefully), but the actual engine, which gets downloaded along with the .xpi files is a 3.6MB file.  If that's not a problem for you, then it can be done.

The other problem is that there isn't a downlaod lib for the mozilla installer yet.  Only the Netscape 6 installer build has it.  Mozilla will be getting one within a week or so (maybe less).  Netscape 6 installer will be using that lib too.

Daniel Chee wrote:
93l2f0$[EMAIL PROTECTED]">
Ok. I was hoping to be able to build add-on applications packaged as XPI to
add to mozilla. Would it be possible to package an application that uses the
same distribution method Netscape6 uses? Download a stub and select what you
want installed, hit ok and the stub/engine will download whatever files are
needed from the website and install it. Thanks.
Daniel

"Sean Su" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
The xpinstall source is not a seperate source code from the mozilla
code. It can't be build independently from mozilla, thus if you want to
build xpinstall, you will need to build mozilla.

The xpinstall source (and the native installers - the wizards) can be
found here:

http://lxr.mozilla.org/seamonkey/source/xpinstall
hope this helps.

Daniel Chee wrote:

Hi,
I don't know if this question has been asked before, so I apologize in
advanced.
I know XPinstall is opensource, but I can't seem to find the source for
the
installer without downloading the entire mozilla source package. I have
a
really slow connection so down loading the entire mozilla source package
takes too long. Can someone tell me where I can get the source for the
XPinstaller for Win32? Thanks.

Daniel Chee





Reply via email to