Bookmark

Donate

Subscribe

Subscribe to our RSS feed

Subscribe to our RSS feed
Email Subscription

Enter your Email ID:

Delivered by FeedBurner

Categories

Links

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

Published: Oct 04, 2005
Send your feedback

Symptom

When you open Windows Components option in  Add/Remove Programs applet, the following error may be generated:

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

Contact your system administrator. The specific error code is 0x7e.

Resolution

Extracting a new copy of the file resolves the problem. Follow these steps:

  • Insert the Windows XP CD in the drive
  • Click Start, Run and type CMD
  • Type this command:

expand X:\i386\ocmsn.dl_ -r C:\windows\system32\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 / Path accordingly.

Example: expand h:\i386\ocmsn.dl_ -r G:\windows\system32\setup

References

How to expand Windows XP files from the installation disk

Setup was unable to load the master information file