Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

isComponentInstalled Method

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Retrieves whether the specified component is available.


bInstalled = clientCaps.isComponentInstalled(sID, sIDType [, sMinVersion])


sID Required. A String that specifies a MIME type, ProgID, class identifier (CLSID), or component ID.
sIDType Required. A case-insensitive String that specifies the type of the identifier in sID. Must be one of the following values:
A MIME type, such as application/cdf.
A ProgID string, such as WMPlayer.OCX.
A CLSID, such as {6BF52A52-394A-11D3-B153-00C04F79FAA6} (Microsoft Windows Media Player).
The Active Setup component ID. See Detectable Components in Internet Explorer.
sMinVersion Optional. A String that specifies the minimum required version of the component. (Version numbers can contain only numerals, separated by commas.)

Return Value

Returns one of the following values:

The component is installed, and its version number is greater than or equal to the specified sMinVersion.
The component is not installed, or its version number is less than the specified sMinVersion.


 New for Windows Internet Explorer 9 Internet Explorer 9. Obsolete. Do not use.

Only Internet Explorer components are detected by this method. If a component identifier of a non-Microsoft component is specified, the method returns false .


This example uses the isComponentInstalled method to determine whether the Microsoft virtual machine is installed.

<HTML xmlns:IE>
@media all {
      IE\:clientCaps {behavior:url(#default#clientcaps)}

<IE:clientCaps ID="oClientCaps" />

    bMSvmAvailable = oClientCaps.isComponentInstalled("{08B0E5C0-4FCB-11CF-AAA5-00401C608500}",


Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/clientcaps/isMSvmThere.htm

Applies To


See Also

Community Additions

© 2015 Microsoft