!include "LogicLib.nsh"
...
Section -
${If} ${FileExists} "$EXEDIR\Custom\*.*"
CopyFiles /SILENT "$EXEDIR\Custom\*.*" "$INSTDIR"
${EndIf}
SectionEnd
...
CopyFiles problem in Vista
While running my installer on Vista, I've run into a problem with CopyFiles. I basically have a folder called Custom that sits next to my main installer. At the end of installation, I copy all contents from Custom, if their are any, to my installation directory recursively (gets rid of having to re-compile my installer for very minor fixes to our code base). Anyways, on Vista, the installer crashes whenever it gets to this CopyFiles command, which will work on WinXP Home/Pro (only other two that I've tried it on). Is this a known issue or is this a new bug? Note, that I've tried it with and without the /SILENT parameter.