Copying files from a network path
I am trying to copy files from a network path during installation, however; the files are not copied.
!define FileCopy `!insertmacro FileCopy`
!macro FileCopy FilePath TargetDir
CreateDirectory '${TargetDir}'
CopyFiles '${FilePath}' '${TargetDir}'
!macroend
Section "!Application" SecApplication
SectionIn RO
${FileCopy} '\\networkpath\path\file.txt' '$INSTDIR'
SectionEnd
Is there something I'm missing?