1.1 Running Component Checker From The User Interface
1.1 Running Component Checker From The User Interface
1.1 Running Component Checker From The User Interface
Component Checker is a tool that allows you to determine the version installation information of the Microsoft Data Access Components (MDAC), and assists in diagnosing installation issues with MDAC. MDAC is installed with numerous Microsoft products and also is available for redistribution by other application providers.
Note:
Component Checker can only be used on 32-bit platforms of English language. In addition, Component Checker requires Microsoft XML Parser (MSXML) to operate correctly on your computer. If MSXML is not present on your system, you must install MSXML 2.0 or newer from or from the . Component Checker performs the following tasks: Identifies the MDAC installations. Creates a report about the files identified for the MDAC installations.
Perform analysis of your machine and automatically determine the release version (Default)
When selected, this option searches the Microsoft Data Access Components (MDAC) installation on your computer and determines its released version. Because it is possible that different products may have installed different versions of MDAC, the result of this analysis might not be precise. Component Checker, however, presents the version that most closely matches the currently installed components.
/s /c /a /q
Examples
The following examples show how to use the Component Checker command line options.
Example 1
The following example analyzes your computer and directs the output to a file named AllVersions.xml in the installation directory. This file contains a full report that lists the file, registry, and COM information for all versions of MDAC found to be installed locally. cc /a /o AllVersions.xml /q
Example 2
The following example analyzes your computer against MDAC 2.8 RTM. It produces a report file named SpecificVersion.xml in the installation directory. cc /s "MDAC 2.8 RTM" /o SpecificVersion.xml /q
Example 3
The following example detects and analyzes your computer against the closest version of MDAC in its internal list. It outputs a full report of its findings to a file named ClosestVersion.xml in the installation directory. cc /c /o ClosestVersion.xml /q
In addition, the View menu in the main application window allows you to select the details that you wish to view, including the following: View Summary Report File Details COM Details Registry Details Description The default view that is displayed after performing an analysis. Contains information about the Microsoft Data Access Components (MDAC) installations, including the file details. Contains information about all of the MDAC files that were found during the analysis. Contains information about the Component Object Model (COM) files found during the analysis. Contains information about the MDAC registry values found during the analysis.
You can save the information returned during the Component Checker analysis by selecting Save from the File menu. This will open the Save File dialog box that you can use to specify the path and file name to save the results to. The default name of the output file is results.xml, and the information that it contains is in an XML format.
The results file can be viewed as text or XML markup using a text editor or Web browser.
File Locations
Component Checker relies on files installed with it to determine MDAC file locations. The input data files are located in the \inputstream subdirectory where Component Checker is installed. Most files used for customization are located in <install directory>\inputstream. The following table lists the significant files, their locations, and use. File filestream.xml registrystream.x ml comstream.xml Description List of files that Component Checker checks. List of registry values that Component Checker checks. List of COM information that Component Checker checks. Location \inputstream subdirectory. \inputstream subdirectory. \inputstream subdirectory.
Filestream.xml
Filestream.xml lists the files that are analyzed by Component Checker. This file is located in the \inputstream subdirectory. The root element for this file is the <filestream> element. The <filestream> element contains no attributes and must contain one or more instances of the <file> element. Each <file> element is an entry for a single MDAC file. It uses the attributes described in the following table.
dir
Within the <file> element, the <release> element is used to document information for the current <file> element specific to a released version of MDAC. The <release> element uses the attributes described in the following table.
MDAC 2.6 SP2 MDAC 2.6 SP2 Refresh MDAC 2.7 RTM MDAC 2.7 Refresh MDAC 2.7 SP1 MDAC 2.7 SP1 Refresh MDAC 2.8 RTM MDAC 2.7 SP1 on Windows XP SP1 MDAC 2.8 SP1 on Windows XP SP2 MDAC 2.8 SP1 on Windows XP SP3 MDAC 2.8 on Windows Server 2003 RTM
version
MDAC 2.8 SP2 on Windows Server 2003 SP1 MDAC 2.8 SP2 on Windows Server 2003 SP2 The number that indicates the version numbering information for the files in the specified MDAC release.
The default copy of filestream.xml includes file information for all MDAC versions (including service packs) starting with MDAC 2.1 SP2.
Example: filestream.xml
The following are a sample of the contents of filestream.xml:
<filestream> <file name="MSADOR15.DLL" dir="%COMMONFILES%\system\ado\"> <release name="MDAC 2.1 SP2" version="2.10.4202.1" /> <release name="MDAC 2.5" version="2.50.4403.4" /> <release name="MDAC 2.5 SP1" version="2.51.5303.0" /> <release name="MDAC 2.5 SP2" version="2.52.6019.1" /> <release name="MDAC 2.5 SP3" version="2.53.6200.0" />
<release name="MDAC 2.6 RTM" version="2.60.6526.0" /> <release name="MDAC 2.6 SP1" version="2.61.7326.0" /> <release name="MDAC 2.6 SP2" version="2.62.7926.0" /> <release name="MDAC 2.6 SP2 Refresh" version="2.62.7400.0" /> <release name="MDAC 2.7 RTM" version="2.70.7713.0" fileversion="2.70.7713.0" /> <release name="MDAC 2.7 Refresh" version="2.70.9001.0" fileversion="2.70.9001.0" /> <release name="MDAC 2.7 SP1" version="2.71.9030.0" fileversion="2.71.9030.0" /> <release name="MDAC 2.7 SP1 Refresh" version="2.71.9030.0" fileversion="2.71.9030.0" /> <release name="MDAC 2.8 RTM" version="2.80.1022.0" /> <release name="MDAC 2.7 SP1 on Windows XP SP1" version="2.71.9030.0" fileversion="2.71.9030.0" /> <release name="MDAC 2.8 SP1 on Windows XP SP2" version="2.81.1117.0" fileversion="2.81.1117.0" /> <release name="MDAC 2.8 SP2 on Windows Server 2003 SP1" version="2.82.1830.0" fileversion="2.82.1830.0" /> <release name="MDAC 2.8 SP2 on Windows Server 2003 SP2" version="2.82.3959.0" fileversion="2.82.3959.0" /> <release name="MDAC 2.8 SP1 on Windows XP SP3" version="2.81.1132.0" fileversion="2.81.1132.0" /> <release name="MDAC 2.8 on Windows Server 2003 RTM" version="2.80.1064.0" fileversion="2.80.1064.0" /> </file> </filestream>
Registrystream.xml
Registrystream.xml lists the registry entries that are used by Component Checker. This file is located in the \inputstream subdirectory and can be altered using a text editor. The root element for this file is the <registrystream> element. The <registrystream> element contains no attributes and must contain one or more instances of the <regvalue> element.
Each <regvalue> element is an entry for a single registry value used by MDAC in the Windows registry. It uses the attributes described in the following table.
Within the <regvalue> element, the <release> element documents information for the current <regvalue> element specific to a released version of MDAC. The <release> element uses the attributes described in the following table.
MDAC 2.7 SP1 MDAC 2.7 SP1 Refresh MDAC 2.8 RTM MDAC 2.7 SP1 on Windows XP SP1 MDAC 2.8 SP1 on Windows XP SP2 MDAC 2.8 SP1 on Windows XP SP3 MDAC 2.8 on Windows Server 2003 RTM
type data
MDAC 2.8 SP2 on Windows Server 2003 SP1 MDAC 2.8 SP2 on Windows Server 2003 SP2 The Windows registry data type for the current registry value, such as REG_SZ for string data. The data for the current registry value.
The primary key for this file is the full registry path, which is comprised of all of the attribute values contained in the attributes of the <regvalue> element. The default copy of registrystream.xml includes registration information for all MDAC versions (including service packs) starting with MDAC 2.1 SP2.
Example: Registrystream.xml
The following are a sample of the contents of registrystream.xml: <registrystream> <regvalue root="HKEY_LOCAL_MACHINE" key="\SOFTWARE\Classes\ADODB.Command\CLSID" value="default"> <release name="MDAC 2.6 RTM" type="2.70.9001.0" data="{00000507-00000010-8000-00AA006D2EA4}" /> <release name="MDAC 2.8 RTM" type="2.70.9001.0" data="{00000507-00000010-8000-00AA006D2EA4}" /> </regvalue> </registrystream>
Comstream.xml
Comstream.xml lists the COM registration information used by Component Checker.
This file is located in the \inputstream subdirectory and can be altered as using a text editor. The root element for this file is the <comstream> element. The <comstream> element contains no attributes and must contain one or more instances of the <regvalue> element. Each <regvalue> element is an entry for a single COM-related CLSID value reserved for an MDAC component in the Windows registry. It uses the attributes described in the following table.
Within the <regvalue> element, the <release> element is used to document information for the current <regvalue> element specific to a released version of MDAC. The <release> element uses the attributes described in the following table.
MDAC 2.6 SP2 MDAC 2.6 SP2 Refresh MDAC 2.7 RTM MDAC 2.7 Refresh MDAC 2.7 SP1 MDAC 2.7 SP1 Refresh MDAC 2.8 RTM MDAC 2.7 SP1 on Windows XP SP1 MDAC 2.8 SP1 on Windows XP SP2 MDAC 2.8 SP1 on Windows XP SP3 MDAC 2.8 on Windows Server 2003 RTM
type data
MDAC 2.8 SP2 on Windows Server 2003 SP1 MDAC 2.8 SP2 on Windows Server 2003 SP2 The Windows registry data type for the current registry value, such as REG_SZ for string data. The data for the current COM registration. Typically, this is the full path to the file that contains the COM component being registered.
The default copy of comstream.xml includes registration information for all MDAC versions (including service packs) starting with MDAC 2.1 SP2.
Example: Comstream.xml
The following are a sample of the contents of comstream.xml: <comstream> <regvalue root="HKEY_LOCAL_MACHINE" key="CLSID\{00000507-0000-0010-800000AA006D2EA4}\InProcServer32" value="default"> <release name="MDAC 2.7 SP1" type="REG_SZ" data="%COMMONFILES %\System\ADO\msado15.dll" /> <release name="MDAC 2.8 RTM" type="REG_SZ" data="%COMMONFILES %\System\ADO\msado15.dll" />
</regvalue> </comstream>
Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. ?2004 2008 Microsoft Corporation. All rights reserved. Microsoft, SQL Server, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.