Old 25th January 2011, 10:02   #1
Marshall7a
Junior Member
 
Join Date: Oct 2004
Location: UK
Posts: 33
Unhappy $PLUGINSDIR not removed

The temporary $PLUGINSDIR is not being removed by my installers.
All of the plugins and temporary images, etc are removed but the folder itself stays behind (empty).

I've tried adding my own RMDir /r to the end of the installer to force the folder to be deleted but this just sets the error flag. I tried adding a Sleep 5000 before the RMDir but this didn't help.

I can remove the directory manually in explorer.

After testing the installer a hundred times I'm left with a hundred empty directories.

Any thoughts?

I've never been very sure about what is right. I'm not even sure that there is such a thing as right. Or wrong. Just places to stand.
Marshall7a is offline   Reply With Quote
Old 25th January 2011, 10:17   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You have probably used SetOutPath $PLUGINSDIR last. Use SetOutPath $EXEDIR or something last.

Stu
Afrow UK is offline   Reply With Quote
Old 25th January 2011, 10:42   #3
Marshall7a
Junior Member
 
Join Date: Oct 2004
Location: UK
Posts: 33
Bingo. Cheers Afrow, that fixed the problem.

I've never been very sure about what is right. I'm not even sure that there is such a thing as right. Or wrong. Just places to stand.
Marshall7a 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