Checking Registration

Each time an application loads, it should check its registration to determine the following:

  • Whether the CLSIDs are present in the registry. If they are not present, the application should register as the original setup.
  • Whether the application's CLSIDs are present in the register but have no OLE 2-related information in them. If this is the case, the application should register as the original setup.
  • Whether the path containing server entries (LocalServer and LocalServer32, InprocServer and InprocServer32, and DefaultIcon) points to the location at which the application is currently installed. If the path does not, rewrite the path entries to point to the current location.

Registering COM Applications