added SetFileAttribute back to remove read-only flag
File only removes the read-only flag when SetOverwrite mode is set to "on", not "try" as with InstallLib git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4599 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
fa2fc9037c
commit
6a21109107
1 changed files with 1 additions and 0 deletions
|
@ -487,6 +487,7 @@
|
|||
!endif
|
||||
|
||||
"installlib.file_${INSTALLLIB_UNIQUE}:"
|
||||
SetFileAttributes $R0 FILE_ATTRIBUTE_NORMAL
|
||||
File /oname=$R0 "${LOCALFILE}"
|
||||
Return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue