Prev Previous Post   Next Post Next
Old 28th August 2013, 14:54   #1
melance
Junior Member
 
Join Date: Aug 2013
Posts: 1
Copying files from a network path

I am trying to copy files from a network path during installation, however; the files are not copied.

code:
!define FileCopy `!insertmacro FileCopy`
!macro FileCopy FilePath TargetDir
CreateDirectory '${TargetDir}'
CopyFiles '${FilePath}' '${TargetDir}'
!macroend



code:
Section "!Application" SecApplication
SectionIn RO

${FileCopy} '\\networkpath\path\file.txt' '$INSTDIR'

SectionEnd



Is there something I'm missing?
melance is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
file copy, network

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump