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

Karsten Düsterloh mnenhy at tprac.de
Wed Aug 27 15:04:09 EDT 2003


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



More information about the Project_owners mailing list