Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 8th April 2006, 03:12   #1
empezar
Senior Member
 
empezar's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 114
recursively removing empty directories

hello.

i've done an uninstaller that reads files from install.log.

i have one problem, it does not remove empty directories.

this is because when trying to remove directories, it looks like this:

C:\dir - not empty
C:\dir\dir2 - not empty
C:\dir\dir2\dir3 - not empty
C:\dir\dir2\dir3\dir4 - empty: REMOVE!

etc

my uninstaller leaves about 112 empty directories.

therefore, i was wondering if there is some sort of plugin or script or macro that i can use for recursively removing these empty directories?
empezar is offline   Reply With Quote
Old 8th April 2006, 04:41   #2
Instructor
Major Dude
 
Join Date: Jul 2004
Posts: 665
Locate plugin "locate::RMDirEmpty"
Instructor is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

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