|

Feature


(string) The feature whose installed state you want.


Re t u r n s


(number) The installed state of the feature represented by one of the following values:



CONSTANT


VALUE DESCRIPTION


INSTALLSTATE_INVALIDARG


-2


An invalid parameter was passed to the function.


INSTALLSTATE_UNKNOWN


-1


The product code or feature ID is unknown.


INSTALLSTATE_ADVERTISED


1


The feature is advertised.


INSTALLSTATE_ABSENT


2


The feature is not installed.


INSTALLSTATE_LOCAL


3


The feature is installed locally.


INSTALLSTATE_SOURCE


4


The feature is installed to run from source.

If the action fails, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|