Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
What files need to be distributed when deploying an application with a COM component? For example, if I create a project with a reference to Windows Media Player (wmp.dll) a file called Interop.WMPLib.dll appears in my bin folder. Does only this need to be distributed or wmp.dll too?
  • 3 weeks later...
Posted

How do you distribute an assembly?

I have the same problem with interop.sqldmo.dll

This is a file to search all the available servers in your domain.

When I install my application on an other computer I always get an error that that dll is not registered or validated.

 

How can I solve this problem?

  • *Gurus*
Posted
You need to include the dll in your setup project so it gets installed on your user's system. Further, since it is a COM dll and requires registering, you need to mark it as such in your setup project. There is usually a per-file setting that you can change to "self register" or similar.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted

Thanks, I will try it again tomorrow at work. I already tried this, I'll give it another go.

The problem occurs on an NT 4 computer, but works on a 2000 computer.

Could there be another problem?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...