From 819e5c7e775eccd0c6f22ba4f2e06ad796fc8f9f Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 27 Mar 2005 17:40:58 +0000 Subject: [PATCH] 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 --- Include/Library.nsh | 1 + 1 file changed, 1 insertion(+) diff --git a/Include/Library.nsh b/Include/Library.nsh index 938868f8..b25bd3bd 100644 --- a/Include/Library.nsh +++ b/Include/Library.nsh @@ -396,6 +396,7 @@ Example: GetTempFileName $R0 $R5 Call :installlib.file_${INSTALLLIB_UNIQUE} + SetFileAttributes $R4 FILE_ATTRIBUTE_NORMAL Rename /REBOOTOK $R0 $R4 ;------------------------