By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,934 Members | 1,476 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,934 IT Pros & Developers. It's quick & easy.

unregister a custom dll from a workstation?

P: n/a
I created a custom dll to use .net objects in com environment. It works
fine. Then I copied the dll to another workstation and manually registered
it, and it works fine there also. Now I need to unregister this dll on that
workstation so I can test if Click Once deployment will deploy the dll with a
com app I am deploying.

How to unregister this dll from that workstation?

Thanks,
Rich
Jul 12 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I think I got it:

C:\regsvr32 /u filename.dll

"Rich" wrote:
I created a custom dll to use .net objects in com environment. It works
fine. Then I copied the dll to another workstation and manually registered
it, and it works fine there also. Now I need to unregister this dll on that
workstation so I can test if Click Once deployment will deploy the dll with a
com app I am deploying.

How to unregister this dll from that workstation?

Thanks,
Rich
Jul 12 '07 #2

P: n/a
>I think I got it:
>
C:\regsvr32 /u filename.dll

Not if it is a .Net COM assembly

with a .Net COM assembly you use Ragasm to register and the / u switch to
unregister

http://msdn2.microsoft.com/en-us/lib...w6(VS.71).aspx

for legacy COM dll`s you are right

regards

Michel
"Rich" <Ri**@discussions.microsoft.comschreef in bericht
news:89**********************************@microsof t.com...
>I think I got it:

C:\regsvr32 /u filename.dll

"Rich" wrote:
>I created a custom dll to use .net objects in com environment. It works
fine. Then I copied the dll to another workstation and manually
registered
it, and it works fine there also. Now I need to unregister this dll on
that
workstation so I can test if Click Once deployment will deploy the dll
with a
com app I am deploying.

How to unregister this dll from that workstation?

Thanks,
Rich

Jul 13 '07 #3

P: n/a
Thanks for the reply to my post. Yes, I did have a problem unregistering my
..Net dll. I have to use Regasm. Thanks for the link. I actually tried that
from

C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegA sm.exe /U mycustomdll.dll

this did not work - said - couldn't find the assembly.

But here is the line I used to register my dll

C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegA sm.exe mycustomdll.dll
/tlb:mycustomdll.tlb /codebase /nologo /silent

I will try this whole line with /u tommorrow. Hopefully that will
unregister it.
"Michel Posseth [MCP]" wrote:
I think I got it:

C:\regsvr32 /u filename.dll


Not if it is a .Net COM assembly

with a .Net COM assembly you use Ragasm to register and the / u switch to
unregister

http://msdn2.microsoft.com/en-us/lib...w6(VS.71).aspx

for legacy COM dll`s you are right

regards

Michel
"Rich" <Ri**@discussions.microsoft.comschreef in bericht
news:89**********************************@microsof t.com...
I think I got it:

C:\regsvr32 /u filename.dll

"Rich" wrote:
I created a custom dll to use .net objects in com environment. It works
fine. Then I copied the dll to another workstation and manually
registered
it, and it works fine there also. Now I need to unregister this dll on
that
workstation so I can test if Click Once deployment will deploy the dll
with a
com app I am deploying.

How to unregister this dll from that workstation?

Thanks,
Rich


Jul 13 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.