Skip to content
⌘ NSIS Forum Archive

Recursively removing directories

3 posts

TheVedge#

Recursively removing directories

Hi there,

I've been playing with NSIS and I've stumbled upon the following problem:

When installing to c:\program files\co\app, uninstalling only removes the last level (app is removed, co stays there).

After searching the forums and the wiki, I found this little gem :


The problem is that my app uses a dll that can't be removed until reboot, therefore the directory is not empty and the script does not work.

Any suggestions?
Afrow UK#
I have updated the function to use /rebootok.


-Stu