Old 11th July 2014, 08:51   #1
Junior Member
Join Date: Jul 2014
Posts: 1
How to Remove Shell Extentions

I use NSIS 2.46 to create setup for my programs, I use a shell integeration DLL in my programs, the installation process work properly but when using the Uninstaller, the Shell Extension DLL file not removed because it is opened by Windows Explorer for integeration.
How to i can delete files such this in Uninstaller Process?
drjackool is offline   Reply With Quote
Old 11th July 2014, 09:04   #2
Join Date: Sep 2005
Location: Sitting next to my desk
Posts: 56
First, you need to unregister the shell extension, than you use delete with the additional parameter /REBOOTOK. In most cases the shell extension is in memory since the shell process is active.
Also possible would be terminating all shell processes, deleting your shell extension dll, start one shell process to have a shell again.
But to be sincere, I'd do the reboot thing.

This signature is currently on vacation!
th_mi is offline   Reply With Quote
Old 11th July 2014, 12:13   #3
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,370
Any application that uses a open/save common dialog etc might have your extension loaded, killing all the explorer processes is not enough.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

shell extension, uninstaller

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump