Omitting certain files when specifying files to install recursively
I have been searching for an elegant solution to a simple problem I'm having. I have the following in my installer script:
SetOutPath "$INSTDIR"
File /r ".\files\*.*"
This 'files' folder is part of my subversion working directory, and thus contains '.svn' folders at every level - which I obviously do not want to include in my actual installer. I cannot delete them do to repository structure, so I am wondering if I can specify 'files to be ignored' if you will. I know I could explicitly specify every file that I want to include, but there are far too many.
Does anyone know of a way to do this? It would be great if there was a flag that could be used such as:
File /r ".\files\*.*" /x ".svn"