[Project_owners] Help with InstallTrigger.getVersion([component]);

HJ bugs4hj at netscape.net
Wed Aug 27 12:15:33 EDT 2003


Karsten Düsterloh <mnenhy at tprac.de> wrote:

>Hi!
>HJ aber hob zu reden an und schrieb:
>> Anybody ever used: InstallTrigger.getVersion([component])
>
>Yes. It's the fastest way to get the current add-on version from a user.
>
>> Here's the link to the NSCP page:
>> http://devedge.netscape.com/library/manuals/2001/xpinstall/1.0/Chap34.html#1013361
>
>That's
>| InstallVersion getVersion ( String component );
>
>> Help, what did you use as [component] ???
>
>A string, of course: the value of the name item of the package in the
>chrome.rdf.
>
>For instance,
>    InstallTrigger.getVersion("mnenhy")
>will (currently) result in
>    0.2.0.3
>HTH,
>Karsten

Can I use that somehow to check the mozilla version? 
*what* can be checked and *what string* do I need for it?
"mnenhy" doesn't ring any bells here, sorry.

I'm aware of buildID, but I use this, or rather like to use it on a simple html page!

/HJ

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455


More information about the Project_owners mailing list