![]() |
#1 |
Junior Member
Join Date: Jul 2014
Posts: 1
|
How to Remove Shell Extentions
Hi,
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? Thanks |
![]() |
![]() |
![]() |
#2 |
Member
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! |
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
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 |
![]() |
![]() |
![]() |
|
Tags |
shell extension, uninstaller |
Thread Tools | Search this Thread |
Display Modes | |
|
|