Re: Uninstall not removing dll

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


Date: Mon, 16 Aug 2004 19:42:58 -0700

This is a guess (hopefully not too wild), but you should add the Commit call
too (calling base.Commit), just in case something happens in there that
might cause this.

-- 
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760
"John Lemire" <JohnLemire@discussions.microsoft.com> wrote in message
news:0755A525-AD54-4182-B226-609520AB384B@microsoft.com...
> This seems so obvious that I have to be missing something. I have a .NET
app
> with a couple installer classes.  I have set them on the install,
rollback,
> and unistall ations. Everything seems to work fine except on uninstall. My
> uninstall methods are called but the dll where they live doesnt get
removed
> afterwards.  This cant be because the installer cant remove the file
because
> its executing the uninstall methods can it?  It would load the dll, run
them,
> unload the dll, and delete it wouldnt it?  However it seems to not delete
the
> dll, therefore not delete the directory its in, and worst of all, prompt
the
> user to reboot to complete the install (come back and delete the dll on
> reboot, but not the then empty dir tree for some reason). There is no
other
> reason to reboot after uninstalling this app.  Since its very common for
.NET
> apps to have installer classes Ive got to believe im missing something
really
> obvious. Can anyone shed some light on this for me?
> thanks,
> -john


Relevant Pages

  • Re: Is it possible? shared DLL update when client application is running
    ... always a program running that uses them, and a reboot is required. ... You cannot possibly overwrite a DLL that is in use, particularly if it is the one the app ... installation" where the files are downloaded by the installer; ...
    (microsoft.public.vc.mfc)
  • Uninstall not removing dll
    ... uninstall methods are called but the dll where they live doesnt get removed ... This cant be because the installer cant remove the file because ... It would load the dll, run them, ... reason to reboot after uninstalling this app. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Is it possible? shared DLL update when client application is running
    ... always a program running that uses them, and a reboot is required. ... You cannot possibly overwrite a DLL that is in use, particularly if it is the one the app ... installation" where the files are downloaded by the installer; ...
    (microsoft.public.vc.mfc)
  • Re: regsvr32 error code 0x80004002
    ... I also have seen this error when there is a missing dll that your dll depends on. ... this invocation of regsvr32 succeeds. ... On another PC which also has VS2005 SP1 installed, an installer which was created by a VS2005 SP1 setup project did indeed insist on installing an extra copy of the redistributables. ... Sorry Norman, the context that this was happening on your development machine was lost, so I had forgotten that VS was installed. ...
    (microsoft.public.vc.mfc)
  • Re: Bad avi file playback
    ... installation and request a reboot when the installation finishes. ... applications and updates these files during startup. ... Antivirus programs do not access audio or video files and therefore their ... installer program can overwrite a file that is locked......if such a program ...
    (microsoft.public.windowsxp.moviemaker)