Example/Tutorial
I have taken a look at the wiki, documentation and most of the examples but one thing still remains un-answered in my head.
I guess I am getting confused from replies to posts that are similar to what I am about to ask.
So I have compiled some of the examples that come with NSIS and see how they work, the principle is very basic and easy to understand. There is however one thing I have not understood. I have a full directory structure that I need compressed inside the compiler, but this directory structure has more than 100 folders and over 1000 files... don't tell me I have to specify all the files and folders using the "File <insert filename>"
I have taken a look at the CopyFile function, but, I am puzzled by:
"CopyFiles $INSTDIR\*.dat $INSTDIR\backup"
Does it compress all the files and the directory structure they have as outlined in a .dat file?
It really just is a huge confusion that won't let me wrap my head around it.
So let's assume I have the following directory structure with files as follows:
/MainFolder
|+SubFolder
||file4
||file5
|file1
|file2
|file3
How would I add them to the installer?