Archive: CopyFiles not working with UNC paths


CopyFiles not working with UNC paths
CopyFiles is not working with UNC paths. It works ok when i copy some files within my machine. I can access those files and copy them through the windows explorer.
Here is my sample code:

Section "KTI" SEC_KTI
CopyFiles "\\ffgh\kti\Personal_Folders\kti\test.txt" "c:\users\kti\Test\test.txt"
SectionEnd

I tried removing the quotes-doesnt work.
Tried mapping and copying through Z:-doesnt work
It shows Copy Failed.

Please help


Are you sure target dir exists?

If not, use CreateDirectory first. Maybe that helps.


Maybe you could try the filesonly switch. NSIS uses SHFileOperation so it should work either way...