View Single Post
Old 12th June 2021, 04:09   #12
shekara
Junior Member
 
Join Date: Oct 2020
Posts: 33
my code is as simple as this

SetOverwrite on
SetOutPath "$TEMP"
${Logit} "Copying events dll to $TEMP folder"
File "/oname=$TEMP\events.tmp" "..\..\bld\nsis\events.dll"
/* OPTIONAL
SetFileAttributes "events_hooks_lib.dll" FILE_ATTRIBUTE_NORMAL
ClearErrors */
Rename /REBOOTOK "$TEMP\events.tmp" "$PRODDIR\events.dll"
shekara is offline   Reply With Quote