Compile Error in simple install script
So I got this chunk of installer script:
72 Section "Wire"
73 AddSize 10397
74 SetOutPath "$INSTDIR/orangebox/garrysmod/addons"
75 File /r "addons/wire"
76 SetOutPath "$INSTDIR"
77 ExecWait "'$TEMP/gmodserverinstallersvn/svn.exe' up $INSTDIR/orangebox/garrysmod/addons/wire"
78 SectionEnd
Basically, what I'm trying to do is move into a specific directory in the installation that's already been put in, and copy the folder 'wire' into that folder on the target machine.
However, I have something wrong on line 75, as evidenced by the compile log:
Section: "Wire"
AddSize: 10397 kb
SetOutPath: "$INSTDIR/orangebox/garrysmod/addons"
File: Returning to: "."
File: "addons/wire" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\gmod server\srcds installer.nsi" on line 75 -- aborting creation process
I've looked through the docs, and I can't figure out what's wrong, mostly because I can't find anything that describes exactly how makensisw is getting the files. Right now, I'm working from the assumption that I should move to a directory I want to output to on the target machine, then specify the path to the files I want to output relative to the .nsi file on my machine. Obviously, however, I'm missing something. Care to enlighten me?