BUG: Uninstalling a COM+ Application that Uses .wsc Breaks Windows Scripting (249812)
The information in this article applies to:
This article was previously published under Q249812 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
COM+ is an evolutionary extension to the Component Object Model (COM). When you uninstall a COM+ application that has a Microsoft Windows Script Component (.wsc), which was exported as a Server application or application proxy, Windows scripting may no longer be functional on that computer.
CAUSE
Uninstalling the exported application also uninstalls the Scrobj.dll file, which is a Windows scripting system dynamic-link library (DLL), as part of the component.
RESOLUTIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
Follow the steps below to correctly install and export the Server application that contains a .wsc component:
- Register the .wsc file (right-click the file icon in Explorer and click Register).
- Generate the .tlb file (right-click Generate Type Library).
- Create the COM+ application in COM+ Explorer.
- Drag and drop the .tlb file that was generated in step 2 to the COM+ application in 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}]
@=""
- Export the COM+ application as a Server application.
Follow the steps below to install the Server application on a remote computer:
- Copy the application server (.msi) and script file (.wsc) to the remote computer.
- Register the .wsc file on the remote computer (right-click the file).
- Import the application server.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 6/11/2002 |
---|
Keywords: | kbbug kbDSupport kbScript kbSysAdmin KB249812 |
---|
|