Client Management Suite

 View Only

Installing a Missing Component 

Oct 02, 2007 01:28 PM

You can use the Windows Installer to detect missing components or files and then reinstall features containing the missing components. Because the installer installs features, and not components, it must first resolve to which component a missing file belongs and then install the feature containing that component.

If more than one feature is linked to that component, the installer installs the feature requiring the least disk space. Calling MsiGetComponentPath verifies that the key file of a component is present; however, it is still possible that other files belonging to the component are missing.

In this case, call MsiInstallMissingFile. The installer then resolves to which component the file belongs and installs the feature that is linked to the component that requires the least disk space. If the MsiGetComponentPath function unexpectedly fails, you must install missing components.

To detect and install a missing component:

  1. Call MsiGetComponentPath to verify that the key file of a component is present. However, even if the key file of the component is present, it is still possible that other files belonging to the component are missing.
  2. Call the MsiInstallMissingComponent function if the feature associated with the component is unknown.
  3. Call the MsiConfigureFeature or MsiProvideComponent function if the feature associated with the component is known.
  4. Call MsiInstallMissingFile if an application is unable to open a file.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

May 20, 2008 03:44 AM

Can u add some more information...(or) the process how to do exactly..
Cheers Tillu

Related Entries and Links

No Related Resource entered.