View Single Post
Old 1st June 2021, 15:07   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,424
PHP Code:
System::Call "kernel32::MoveFileEx(t 'C:\Temp\test.dll', t 'D:\test\test.dll', i 5)i.r0?e"
Pop $1
MessageBox mb_ok 
$0,$
What does the messagebox say?

Remember that you must run as elevated administrator for reboot renaming to work...

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