I'd like to set the read-only attribute on these files. I found the SetFileAttributes command which looks like what I need. The problem is, it appears to only apply to a single file. Since I don't know what files will be there, I can't explicitly call it once for each file.
SetOutPath "$INSTDIR\MyTextFiles"
File "${TEXTFILESFORINSTALLER}\*.txt"
SetOutPath "$INSTDIR"
Any ideas? I need to call SetFileAttributes on all the .txt files in the directory.