fixed bug #1481664 - RMDir can't delete read-only folders
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4667 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d7deb90dd8
commit
a7d42ace7e
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ void NSISCALL myDelete(char *buf, int flags)
|
|||
{
|
||||
addtrailingslash(buf);
|
||||
log_printf2("RMDir: RemoveDirectory(\"%s\")",buf);
|
||||
SetFileAttributes(buf,FILE_ATTRIBUTE_NORMAL);
|
||||
if (!RemoveDirectory(buf))
|
||||
{
|
||||
#ifdef NSIS_SUPPORT_MOVEONREBOOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue