On SeaMonkey (and the old Suite). The XPI install process uses the
install.js file and throws away - or totally ignores - the install.rdf
file. However for my purposes I would like to intercept the install
process and extract certain information (iconURL, authorURL) from the
install.rdf file.

How and where would I do this?

I suppose I could overlay:
chrome://communicator/content/xpinstall/xpistatus.xul

Then how can I find where the XPI file is located? If it is a local file
the information is available, but if the target file is a http:// URL
how do I find out where the downloaded local temp file is located?

As far as I can tell the download filename isn't passed to the progress
dialog in the paramblock:

http://lxr.mozilla.org/seamonkey/source/xpinstall/src/nsXPInstallManager.cpp#265

Phil
-- 
Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]BRAIN.COM file closed. (A)rgue (R)etry (F)orget It
* TagZilla 0.059
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to