Old 22nd November 2006, 15:51   #1
Soundbytes
Junior Member
 
Join Date: Oct 2005
Posts: 8
delete on reboot

one of my beta testers got a little nervous when he read the "delete on reboot message" in the uninstall summary.

I had to reassure him that the directory in question will in fact not be deleted because it is not empty.

Is there any way to make the deinstaller only display the message when the directory is really empty?

Thanks!
Soundbytes is offline   Reply With Quote
Old 23rd November 2006, 17:15   #2
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
Use code like this:
code:
IfFileExists "$INSTDIR\*.*" +2 0
RMDir /REBOOTOK "$INSTDIR"
goto +2
RMDir "$INSTDIR"

glory_man is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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