From 6a21109107b3f435f05ef3c2e2aa5233b27dd248 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 17 Mar 2006 20:07:50 +0000 Subject: [PATCH] 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 --- Include/Library.nsh | 1 + 1 file changed, 1 insertion(+) diff --git a/Include/Library.nsh b/Include/Library.nsh index 5f80eab4..fa91f430 100644 --- a/Include/Library.nsh +++ b/Include/Library.nsh @@ -487,6 +487,7 @@ !endif "installlib.file_${INSTALLLIB_UNIQUE}:" + SetFileAttributes $R0 FILE_ATTRIBUTE_NORMAL File /oname=$R0 "${LOCALFILE}" Return