!define FileCopy `!insertmacro FileCopy`
!macro FileCopy FilePath TargetDir
CreateDirectory '${TargetDir}'
CopyFiles '${FilePath}' '${TargetDir}'
!macroend
Is there something I'm missing?Section "!Application" SecApplication
SectionIn RO
${FileCopy} '\\networkpath\path\file.txt' '$INSTDIR'
SectionEnd