Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing COM+ Appications will also unregister DLL?

Status
Not open for further replies.

jasontektips

Programmer
May 30, 2003
23
SG
Hi,

Understand that when I create a COM+ Application, and add in new components(dlls), the dlls will be automatically registered in the registry.

Would like to find out whether deleting the COM+ Application will automatically unregister the dlls.

Many thanks.
Jason
 
nope if u manually delete the files (using the delete key or the mouse) the registry entries will remain...

and the same vice versa.. ie if u delete an entry in the registry it doesnt delete the dll file... :)

Known is handfull, Unknown is worldfull
 
vbkris he/she didn't ask about deleting the dll

Yes deleteing a COM+ Application in Component Services does unregister all the components in that application. Depending on how you installed the components and remove them will dictate if the actual DLL is removed. If you use install/remove programs in control panel and it was installed via an MSI it will remove the package, delete the dll's and unregister the DLLs (not in that order)
If you delete a package the DLLs are left on the system but are useless until you reregister them in some way.

If you have good configuration management you should never need to go into the registry. Its only when you skip a step like deleting a DLL then deleting a package that you'll be left with a corrupt registry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top