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:
parent
54599162b7
commit
819e5c7e77
1 changed files with 1 additions and 0 deletions
|
@ -396,6 +396,7 @@ Example:
|
||||||
|
|
||||||
GetTempFileName $R0 $R5
|
GetTempFileName $R0 $R5
|
||||||
Call :installlib.file_${INSTALLLIB_UNIQUE}
|
Call :installlib.file_${INSTALLLIB_UNIQUE}
|
||||||
|
SetFileAttributes $R4 FILE_ATTRIBUTE_NORMAL
|
||||||
Rename /REBOOTOK $R0 $R4
|
Rename /REBOOTOK $R0 $R4
|
||||||
|
|
||||||
;------------------------
|
;------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue