hazmatt
29th July 2008 23:53 UTC
Getting more info from CopyFiles
I'm using CopyFiles to copy a whole lot of files recursively.
It ends up reporting Copy E:\* to C:\fullgame or such.
Is there a verbose option for it so that it reports back to the Installing window the files it is copying?
It ends up looking hung.
LoRd_MuldeR
30th July 2008 00:14 UTC
Don't copy all files at once. Instead copy each file individually. This gives you chance to write output to the log in between. If you don't know which files need to be copied in advance, you can detect them via FindFirst/FindNext at runtime...
hazmatt
30th July 2008 01:05 UTC
Does FindFirst/FindNext work recursively?
I'd like to be able to replicate the file and folder structure from source location to the $INSTDIR
LoRd_MuldeR
30th July 2008 01:14 UTC
No, it doesn't. But it should return filenames as well as subfolders. So you can implement your own recursive version in NSIS easily...
Comperio
30th July 2008 20:50 UTC
You might also want to look at the Locate macro from the FileFunc header. See your NSIS help file, appendix E (There's also a few examples there that might get you started.)
zeeh3
30th July 2008 21:18 UTC
You can try Locate Plugin.