|
|
#1 |
|
Member
Join Date: May 2006
Location: Devon, UK
Posts: 65
|
abort function woes
I dont expect anyone to just magically know why my $INSTDIR isnt fully being deleted, I've tried moving all file handles off it before cleaning up, etc. I dont get why it leaves behind 6 directories in $INSTDIR, all empty, plus , its very odd to me that none of these directories were used or referenced or allocated a file handle etc.
the whole $INSTDIR is empty too (0 bytes total), but has a subtree still existing with these 5 directories and their relevant subdirs, it cleans up $TEMP and other install locations fine, just not $INSTDIR, as I said before I've setoutpath to somewhere other than $INSTDIR before cleaning up. any clues would be appreciated although I know someone can't just magically know, well maybe. thanks people. Function .onAbort # stale file handles would stop something being deleted RMDir /r "$CFDIR\customtags\icm" SetOutPath $CFDIR RMDIR /r "$INSTDIR" RMDIR /r $INSTDIR RMDIR $INSTDIR RMDir /r "$TEMP\${gossTemp}" Delete $TEMP\testlogin* Delete c:\adminapi.log RMDir /r "c:\inetpub\wwwroot\web" SetOutPath $TEMP FunctionEnd edit: yeah, I know theres 3 rmdirs for instdir in there but that was merely me testing stuff
|
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|