dancingbob
1st October 2004 18:00 UTC
Forceing files into a dir
Hi,
I'm currently using the below File command and i'm trying to force the exe to appear in the base folder.
File /r "${BuildFolder}*.exe"
Is this possable or do i have to write a run time function to search and copy the exe files from the sub directories at runtime??
Thanks,
Bob
kichik
1st October 2004 22:25 UTC
There is no way to flatten a directory with the File command. But you don't have to run a function to move the files. You can use some program on compile time that will find the .exe and generate a header file which you can include. This program can even be a simple NSIS "installer".
!system 'findexes.exe "${BuildFolder}" "$%TEMP%\exes.nsh"'
!include "$%TEMP%\exes.nsh"