Really need some help... :(

rahavtom

Regular
Joined
Apr 2, 2004
Messages
63
Hello all !

I'm using windows media player component in my app.
When I try to build a deployment version of my app, I get the following error message:

ERROR: 'wmp.dll' should be excluded because its source file 'C:\WINDOWS\system32\wmp.dll' is under Windows System File Protection.

By the way, I use windows XP pro SP2 and VB.Net 2003.
Please... does anyone know this problem and what can be done to solve it??

Thanks in advanced!
Tom.
 
Within your delpoyment project look under the list of dependencies, right click on the wmp.dll and there should be a menu option to exclude it.
The error simply means this file is part of windows and if you attempt to install a different version from what windows is expecting it will put the original one back. If people need your version of the dll then they would need to install the correct version of Media Player.
 
But if i exclude it from dependencies list then after buliding its solution. after installing software i got error. and messsage to send error report to microsoft.

what can i do now?
 
You would need to make sure the file is already present on the target pc, if you are targeting a specific version of wmp then this version will need to be installed already.
 
Back
Top