remove read only file attribute before using Rename /REBOOTOK

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3937 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-03-27 17:40:58 +00:00
parent 54599162b7
commit 819e5c7e77

View file

@ -396,6 +396,7 @@ Example:
GetTempFileName $R0 $R5
Call :installlib.file_${INSTALLLIB_UNIQUE}
SetFileAttributes $R4 FILE_ATTRIBUTE_NORMAL
Rename /REBOOTOK $R0 $R4
;------------------------