Re: Uninstall COM DLL using .NET Setup msi

From: Phil Wilson (pdjwilson_at_nospam.cox.net)
Date: 08/05/04


Date: Wed, 4 Aug 2004 19:22:40 -0700

The default behavior for MSI setups is that if you install and register the
DLLs with the usual MSI methods, it just works, so what tool are you using
to build the MSI file, and exactly how is the COM registration being done?
But if, for example, you used an install custom action to copy and register
a DLL, then you need to write an uninstall custom action to unregister and
remove the DLL.

-- 
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760
"Reginald Mhoon via .NET 247" <anonymous@dotnet247.com> wrote in message
news:OtrI11heEHA.1652@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I have created .Net setup deployment package(i.e, .msi) for a .NET Windows
Service.
> I am installing COM dll for which there is a mathcing Interop.dll in
application directory.
> The DLL Registers find.
>
> When the product is uninstalled, i want all of the files installed the
application
> directory to be removed for the client system.
> Currently the COM dll is not unregistering or deleting during the
uninstall.
> Is there any special settings or properties to be configured in order to
> achieve this?
>
> Any pointers would be of great help.
>
> Thanks in advance.
>
> Regards,
> R Mhoon
>
>
> --------------------------------
> From: Reginald Mhoon
>
> -----------------------
> Posted by a user from .NET 247 (http://www.dotnet247.com/)
>
> <Id>v8qP2sT6QEW8qj+vfloBsA==</Id>


Relevant Pages

  • Re: Couldnt find installable ISAM error from VB 6 / Access 2003
    ... Why can I unregister a dll ... The register is also successful. ... What is bizarre is that if you run the setup package to install the app, ...
    (microsoft.public.vb.database)
  • Re: Installing COM add-in
    ... It looks as though you need admin priv to register the DLL ... > You don't need admin rights to install, just user rights to install new ...
    (microsoft.public.outlook.program_vba)
  • Re: Self registering a COM dll in a VS2003 Windows setup project...
    ... Most of the Register settings extract the settings at build time and put the ... at install time. ... code in that DLL is doing something that isn't being put into the MSI file. ... I have not been able to make a customized Redemption dll ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Help and support only shows green arrows
    ... I am missing a few files that is needed to run the Help and support menu. ... I couldn't install them. ... *** You can register your HHActiveX.dll using the "Register a DLL" button. ...
    (microsoft.public.windowsxp.general)
  • Re: Deploy .NET sub-projects for COM to GAC
    ... You need to run tlbexp on the assembly and register the resulting type library to produce a VS setup that does the same as regasm. ... When I BUILD the setup project it automatically creates new TLB files and adds them to the PROJECT OUTPUT. ... When I install an MSI with DLL set to vsdraCOM, it registers those DLL for COM for me. ... I have deployed dozens of DLL ASSEMBLIES exposing a COM interface via MSI and with vsdsraCOM set for the DLL and exclude the TLB from the MSI KIT. ...
    (microsoft.public.dotnet.framework.interop)

Loading