View Single Post
Old 13th June 2021, 01:49   #15
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,424
My only suggestion is to avoid cross-volume operations, do:

Quote:
File "/oname=$proddir\events.tmp" "..\..\bld\nsis\events.dll"
SetFileAttributes "$proddir\events.dll" FILE_ATTRIBUTE_NORMAL
Rename /REBOOTOK "$proddir\events.tmp" "$PRODDIR\events.dll"

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote