Archive: $PLUGINSDIR not deleted on exit


$PLUGINSDIR not deleted on exit
I have several files included in my program (nice option to prevent user from deleting files)

but the $PLUGINSDIR is not deleted on exit

OS = XP

Why not?
And how can i solve this?


More details are required. What version of NSIS are you using? Can you attach the script?


CVS from yesterday (13:44)

files are extracted .oninit


page custom selectaction
page custom save01
page custom save02
page custom restore01
page custom restore02
;!insertmacro MUI_PAGE_INSTFILES
page custom save03
page custom restore03

..

ReserveFile "rar.exe"
ReserveFile "RARREG.KEY"
ReserveFile "notify1.wav"
ReserveFile "notify2.wav"

...

Function .onInit
InitPluginsDir
File /oname=$PLUGINSDIR\rar.exe "rar.exe"
File /oname=$PLUGINSDIR\notify1.wav "notify1.wav"
File /oname=$PLUGINSDIR\notify2.wav "notify2.wav"

...

!insertmacro MUI_INSTALLOPTIONS_EXTRACT "emenu01.ini"
...

all pages - some files & inis

section is empty for now.

I need the entire script. What is this line for:

"'$PLUGINSDIR'"


Does it actually compile or is this just a typo when you copied and pasted?

sorry, there is a message box id did not delete entirely

there is nothing unusual
the rest is funtion/functionend which reads/writes IO-inis..

hmm, strange
i am using this function:

Function .onGUIEnd
Delete $pluginsdir\*.*
RMdir $PLUGINSDIR
FunctionEnd

>> BgImage::Sound /NOUNLOAD
.. prevents from deleting

but the folder is still there when i dont use this function.

is deleting depending on the MUI_finishpage? if so - not useful