Component Detector for Internet Explorer

Component ID:






Introduction

This detector uses clientCaps and therefore only works for Internet Explorer version < 11. It discloses information about certain components installed on your computer. The list of components you are allowed to detect are given by the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components. Please be aware that security restrictions will only allow some of the components in this registry key to be detected.

[Note: clientCaps does NOT work for IE 11+. However, if the document mode for IE 11+ is 10 or lower, then clientCaps should work. This page uses <meta http-equiv="x-ua-compatible" content="IE=10"> in the <head> tag, which will make IE 11+ behave as IE 10 with clientCaps.]



A few PluginDetect commands for Component detection

PluginDetect.getVersion('IEcomponent', componentID): [Returns string or null]
   Returns the version (as a string) of the installed component.
   Returns null when the version could not be determined.

By default, the returned version string is comma delimited and has the format of "A,B,C,D". If you wish to change the getVersion( ) delimiter, then use:
   PluginDetect.getVersion(delimiter) where delimiter is a string with exactly 1 character.

For example,
   PluginDetect.getVersion(".");   // set delimiter
   var version = PluginDetect.getVersion("IEcomponent");    // version has the format of "A.B.C.D"


PluginDetect.isMinVersion('IEcomponent', minVersion, componentID):
[Returns number]
   Returns 1 if component is installed for the specified componentID, and the version is >= minVersion.
   Returns 0 if component is installed for the specified componentID. The version is unknown, and thus we are unable to determine if version >= minVersion.
   Returns -0.1 if component is installed for the specified componentID, but version is < minVersion.
   Returns -1 if component is not installed or not detectable.
   Returns -3 if you supplied a bad input argument to the isMinVersion( ) method.


minVersion: [string or number input argument]
   This is the minimum ActiveX control version.
   Can be a string such as  '1,5,0,0' or '1.5' or '1,5,0,1' or '1.5.0.1' etc...
   Can be a number such as 0 or 1.5 or 1.50 etc...
   If minVersion is not specified, then PluginDetect will assume minVersion is '0'.
   Strings are more versatile than numbers since '1,5,0,1' cannot be expressed as a number.


componentID: [string]
   The componentID specifies the component that you wish to detect.
   The format of the string is "{identifier}". As an example, "{89820200-ECBD-11CF-8B85-00AA005B4383}". You can use upper or lower case letters if you wish. Spaces in the string are ignored.
    A list of potential component IDs can be found in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components.