Archive: can i put a folder?


can i put a folder?
Hi, NSIS folks,

i am a new user of NSIS, and really like it. thanks to NSIS developers.

i have a question, i have several folders in my program, which contain several hundreds files. if i use File command put the files one by one, it is not very efficient. Does NSIS have a machanism to put folders instead of files?

thank you very much.

mike


Yes use the following command to add the whole directory including sub-directories and all files in them:

 File /r C:\whatever\mydir\
Also check out the NSIS readme file it includes help on all commands available in NSIS.

BTW welcome to the forums ;)

Vytautas

Thank you very much, Vytautas.

mike