getVersion
Returns an object representing the version number from the Client Version Registry for the specified component. It is used in both trigger scripts and installation scripts.
Method of
InstallTriggerSyntax
InstallVersion getVersion (
String component );Parameters
The
getVersionmethod has one parameter:
componentThe name of a component in the Client Version Registry. Returns
If Software Installation is disabled, this method returns
NULL.Otherwise, it returns an InstallVersion object representing the version of the component. If the component has not been registered in the Client Version Registry or if the specified component was installed with a null version, this method returns null.
Installing a component with a
NULLversion indicates that the component should always be updated when the opportunity arises.
| Netscape Communications devedge.netscape.com |