Techie Weblog for Geeks
Welcome Cosmo Cyber Check out Weblinks Page for Great stuff

Tuesday, December 8, 2009

[W] Add/Remove Windows Components Error

Error "Setup library comsetup.dll could not be loaded" while opening Add/Remove Windows Components


When you click the "Add/Remove Windows Components" button in Add or Remove Programs, the following error message is displayed:

Setup library comsetup.dll could not be loaded, or function OcEntry could not be found.

When you press OK, the following error is seen:

The application could not be initialized.

This error occurs if the file comsetup.dll is missing from the C:\Windows\system32\setup folder.

Method 1:

The DllCache folder maintains a copy of comsetup.dll file. So, you can copy the file to the following location:

C:\Windows\System32\setup

Note that the DLLCache folder is located at:

C:\Windows\system32\dllcache


Method 2:

Extract comsetup.dll from Windows XP CD

In the Command Prompt, type the following command:

expand X:\i386\comsetup.dl_ -r c:\windows\system\setup

Where X:\ is your CD-ROM drive letter. The above command assumes Windows is installed in C:\ drive. If not, change the drive letter accordingly.

Reboot


~

No comments:

Post a Comment