Archive: Recursively removing directories


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 :
http://nsis.sourceforge.net/Uninstal...your_installer

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?


I have updated the function to use /rebootok.
http://nsis.sourceforge.net/Uninstal...your_installer

-Stu


Okay.. I feel kinda dumb right now..

Thank you very much!