The XPInstall engine (i.e., the xpinstall.dll cited) is an XPCOM 
component and as such if your app uses XPCOM it could load XPInstall as 
a component.  The dll depends on a few other dlls being around at the 
very minimum: see the list under the [xpcom] section here:
<http://lxr.mozilla.org/seamonkey/source/xpinstall/packager/packages-win#40>

The install wizards initialize and use XPCOM to dynamically load the 
XPInstall XPCOM component.  Some code in a stub dll used by the wizards 
that does this can be found here:
<http://lxr.mozilla.org/seamonkey/source/xpinstall/stub/xpistub.cpp>

Feel free to post with follow-up questions.  Good luck.
~Samir

mariom wrote:

> Hello, Im trying to use the xpinstal library for windows, but i have been
> always programming in linux so i dont know really well what i need. I was
> trying to link xpinstal.dll into my program but now i think i need the
> corresponding .lib but i dont know where to get it.
> 
> Please could someone tell me what to do to solve my problem?
> Who knows, maybe someday i will understand win platforms. :-)
> 
> Thanks
>         Mario Martinez
> 
> 
> 
> 


Reply via email to