![]() |
#1 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
install a folder and subfolders and all files
Hi,
This is my first meeting to NSIS. I laborate with the Example1.nsi and want to install a hole folder with its subfolders and all files. I did try to read about the command File, but I don't get it right. this is my script : ; Put file there File "C:\UTV\DF191\FOLDER-A\*.*" but I do not get the subfolders, just the files under FOLDER-A, File-AA and File-BB The structure is like this: C:\UTV\DF191\FOLDER-A\ FOLDER-B File-1 File-2 Folder-C File-45 File-AA File-BB How should I do this? |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,355
|
File /r c:\whatever\*.*
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
Thanks for the quick answer!
That worked fine. Probably we will meet again. I am going to make my first installation of my application. Regards Anders |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|