hawkmaster
13th April 2010 13:40 UTC
Copy 2000 files or extract exe?
Hello,
asuming you have a large project to install which has about 2000 files and lot of subdirectories.
Is it better to copy each single file with installer or is it better to make a self extracting exe from this project and copy this with installer. And after copying extract the exe with installer?
What ist the best and quickest way?
thanks a lot
regards
hawk
pengyou
13th April 2010 17:26 UTC
Are you worried about creating 2,000 separate "File" commands to add those files to the installer?
You can use wildcards so a single "File" command can be used to install a directory and all of its sub-directories.
See the NSIS User Manual for details:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.5
MSG
14th April 2010 06:20 UTC
If you're thinking about execution speed on the user's pc, for example related to virus scanning, you could simply do some tests and see which is faster. (For autorun scanning on a CD/USB stick, it should definitely be faster to have one big file rather than 2000 files on the disc.)
hawkmaster
14th April 2010 07:22 UTC
Thanks all for your help.
I am not worried about adding 2000 files into the NIS file. I did this with the NIS Helper tool and this works fine.
I was only interest in your expert experience which is the better way and which is quicker.
My first test was with adding this 2000 files with the "File" command and it works.
thanks again
hawk