Re: Adding a dll

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

Wait, no. That will put it into the GRE directory.

Start over... always helps to get all the requirements up front :-)

To put it into the browser directory you need to get the file into browser.xpi.

back to the makexpi.pl script -- instead of adding to the xpcom block you'll
need a new chunk

if($inComponentName =~ /browser/i)
{
   # copy gdiplus.dll to browser dir
   ... code from before...
}

Then add the conditional install code to the browser.jst script template
instead of xpcom.jst

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