CopyFiles Question
Ok I have done a search but I still need help.
What I am doing is making an installer for a mod for a game. This mod needs certain files copied over from the game directory to the Install folder. I am new to the whole NSIS programing so I am a bit lost.
1- I need to copy an entire folder's contents to my created folder.
2- The folder is back 2 directories and in one (ie C:\Program Files\GameName\System\levels\*.* to the install directory C:\Program Files\GameName\mod\modname\levels
I can copy fine from constant variables ie $ProgramFiles\GameName\etc... but I dont know how to go back from the Install directory. The other thing is that I want it to go by the install directory because they already specified the coorect mod directory.
The code below, I know isnt even close. I included it to show you what I am referring to.
sorry for the really noob question :).
CreateDirectory $INSTDIR\levels
CopyFiles /SILENT $INSTDIR "..\..\System\levels\*.*" $INSTDIR\levels