Was working on a new NSIS installer today, and ran into another issue.
NSIS doesn't like it if you specify a wildcard File option that returns no files. My case is a database installer for an app I'm writing. 99% of the time, there will be files in subdirectory "sop", but that 1% of the time there won't. NSIS complains about no files and dies. Instead, it should be allowed to fail gracefully, since that simply means there's nothing to install this go-around. IE:
File sop\*.sop <-- right now this fails if sop directory is empty.
File /i sop\*.sop <-- my suggestion-the /i flag will ignore the empty sop directory and keep going.