The WMI Windows Installer Provider component is one of the built-in providers that is included with Windows Management Instrumentation (WMI). It allows Windows Management Instrumentation (WMI)-enabled applications to access information collected when Windows Installer–compliant applications are installed.
The Installer Provider mirrors the functionality of the Windows Installer, and can read any property of a software product installation. Also, the Installer Provider makes available to remote users the set of procedures that the Windows Installer makes available to users of stand-alone computers. Through WMI, you can perform a host of powerful tasks for application installation.
Registering the Installation Provider
Registrations are the instance definitions required for the Windows Installer Provider to give information to the WMI Object Manager. Generally, registrations include instances of these system classes:
These instance definitions tell the WMI Object Manager how to use the provider. Note that they do not provide Installer information themselves.
Note The Installer Provider employs the standard registration process for providers.
The Installer Provider is registered automatically as part of the installation process. There should be no need for you to register this provider for your applications. However, if an application requires the Installer Provider to be registered and it is not, compile the Msi.mof file using the MOF compiler.
Compiling the Msi.mof File
You can manually register the Installer provider by compiling Msi.mof. Do this by typing the following at the command prompt, where WBEMinstall dir represents the location of the core WMI installation:
C:\> WBEMinstalldir\mofcomp WBEMinstalldir\Msi.mof
Providers register with WMI to publish information about the data and operations that they support and their physical implementation. WMI uses this information to load and initialize the provider and to determine the right provider for a particular client request. All types of providers follow the same procedure for registration. Neither WMI nor the provider need to be running during the registration process. To register with WMI, a provider must execute the following steps.
There are no configuration requirements for this component.
The WMI Windows Installer Provider component is designed to work with the WMI Core component and other WMI provider components. WMI Windows Installer Provider also requires the WMI Tools component for compiling MOF files by using the Mofcomp.exe tool.
The following components have related functionality:
For more information on WMI, see the Platform Software Development Kit (SDK) at this Microsoft Web site.
]]>