Re: Adding a dll

Daniel Veditz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Jonathan Watt wrote:

> Daniel Veditz wrote:
>>
>>Oops, forgot an important point. For a normal Mozilla library developers
>>only need to make sure it gets into the install archive using the package
>>lists and the rest just works.
> 
> What does that mean? I still make the changes at the five locations you 
> have mentioned?

The locations I mentioned were a mix of Mozilla (Suite) and Firefox. If
you're only releasing one or the other you can skip some. For the Suite you
need the changes under "xpinstall", for Firefox you need the ones in browser
and toolkit.

If you're adding an extension to the basic browser you'd do things
differently, but don't worry about the details for now. Just an excuse for
why I forgot the script changes since you've got a somewhat unusual case
(conditional install).

>>http://lxr.mozilla.org/mozilla/source/xpinstall/packager/windows/xpcom.jst#52
>>http://lxr.mozilla.org/mozilla/source/browser/installer/windows/xpcom.jst#52
> 
> The code at those locations puts the libraries into a windows system 
> folder. I must put gdiplus.dll alongside mozilla.exe according to 
> microsoft. I guess if I look around I can figure out how to do this, but 
> feel free to tell me if you know offhand. ;)

Use fProgram instead of fWindowsSystem as the 4th arg to addFile.

-Dan Veditz
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.