Article ID: 249808
Article Last Modified on 12/5/2007
APPLIES TO
- Microsoft COM+ 1.0
- Microsoft COM+ 1.5
This article was previously published under Q249808
SUMMARY
This article describes how to install a COM+ component whose dynamic-link library (DLL) should not be in the export directory when the application is exported.
An example of when you might use this technique is when the DLL is a system DLL, which should not be uninstalled when the application is uninstalled (for example, a Windows Scripting Component).
MORE INFORMATION
Follow these steps to install a COM+ component whose dynamic-link library (DLL) should not be in the export directory when the application is exported:
- Register the component.
- Generate the Type Library for the component.
- Create the COM+ application in the COM+ Explorer.
- Drag and drop the generated Type Library in step 2 to the COM+ application in the COM+ Explorer.
In the registry, insert implemented categories under CLSID\{GUID} as follows:
[HKEY_CLASSES_ROOT\CLSID\{<Component CLSID>}\Implemented Categories\{87D49532-B7b6-11d0-8d1e-00c04fc2e0c7}] @=""
Keywords: kbhowto kbsysadmin KB249808