Skip to content
⌘ NSIS Forum Archive

File Recursion problem?

2 posts

Guest#

File Recursion problem?

Hey guys, i wrote this simple script like that:
Name "Example1"
OutFile "NewFolder.exe"
InstallDir C:\NewFolders
Page Directory
Page instfiles
Section ""
SetOutPath $INSTDIR
File /r "D:\InstallFiles\*.*"
SectionEnd


Now, everything works properly except for one thing,if there is a subdirectory that doesnt contain any files, it wont be copied into the installer. Why is that so?

Any ideas how to work around it?
Thanks