Skip to content
⌘ NSIS Forum Archive

Delete $PLUGINSDIR onGUIEnd

3 posts

kookh#

Delete $PLUGINSDIR onGUIEnd

I want to delete the ns***.tmp folder when my installer is closed/aborted/canceled however, some of the plugins I'm using don't have an Unload function. Is there anyway to delete the plugins directory without unloading a few plugins? Or perhaps to have the directory deleted upon reboot? Can anyone please let me know how it can be done..
Afrow UK#
What plugins are these?
The directory should be deleted on reboot. If it isn't then use:
RMDir /r /rebootok $PLUGINSDIR

-Stu
Anders#
$PLUGINSDIR should be deleted when the installer exits, if not, you are using a plugin wrong or a possible plugin bug