ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Can't delete bin\ExpShell.dll
lwc


Joined: 17 Apr 2006
Posts: 69
Reply with quote
After a new version comes out, when I copy the entire clamwin folder (in standalone mode) to another computer, I first of all delete the old version in that computer.

However, the aforementioned file can't be deleted even if I clear ClamWin's registry settings. It demands a total restart!

Obviously there's a way to do it because the official installer does manage to remove this file somehow (and then replaces it with the new version). So what does it do that I don't?

Thanks!
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1748
Reply with quote
This happens because expshell.dll (explorer context menu handler) is loaded by Windows Explorer. ClamWin setup cannot replace a locked file without a reboot.

If you do not see a request to reboot at the end of an upgrade then this file did not change and the setup did not need to overwrite it. Do a binary file compare on 2 dlls and you should see that they are identical.
View user's profileSend private message
lwc


Joined: 17 Apr 2006
Posts: 69
Reply with quote
So what you're saying is that the only reason the computer that ran the official installer didn't need a reboot too is because the installer was smart enough to know not to delete this file because it had no newer version? And if there was a newer version, the installer would have asked me to reboot?

I have yet to reboot that one computer so I can tell you its file is identical to the one in the computers that were booted.
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1748
Reply with quote
lwc wrote:
So what you're saying is that the only reason the computer that ran the official installer didn't need a reboot too is because the installer was smart enough to know not to delete this file because it had no newer version? And if there was a newer version, the installer would have asked me to reboot?

yes
View user's profileSend private message
lwc


Joined: 17 Apr 2006
Posts: 69
Reply with quote
I wish there was a way to unload it then...
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1748
Reply with quote
Quote:
I wish there was a way to unload it then...

Kill explorer.exe process in the process explorer
View user's profileSend private message
Can't delete bin\ExpShell.dll
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic