Shahin Saneinejad wrote:

> I want to detect the name of the application installing my xpi (e.g. 
> Firefox, Thunderbird, Mozilla, etc.) and its version number.  An 
> alert('buildID'); in my install.js prints 0, and I think buildID formats 
> vary across applications.

buildID should give you the Gecko build number (0 in dev builds, just like
the browser window title). That's not much help to you, it's more there just
in case there were XPInstall engine feature differences (or bugs) that
scripts needed to work around.

> I'd rather not rely on any auxiliary JS libraries like Quicktools or 
> JSLib.  Any ideas?

unfortunately no.  File an RFE to expose the user agent perhaps? This might
be worth getting into Firefox 1.0
_______________________________________________
Mozilla-xpinstall mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to