I just started using NSIS about two days ago. I'm trying to create an installer (pretty much empty) that copies files from a dvd disc to the destination computer. CopyFiles works for the copying part, but it doesn't work for the detail screen during installation. My question is pretty simple:
[1]How do I copy all the files (161) and folders (38), [2]make it print every copied item (file or folder) and [3]update the status bar while copying?
[1] I'm using CopyFiles /SILENT "$EXEDIR\installer_files\*.*" "$INSTDIR" 2312474. All files are located in a dir (called installer_files), which is located in the installer.exe dir. The integer is the complete size of the files.
[2] I'm using RecFind.nsh for this, but it seems to be searching backwards (Z to A)...
[3] RecFind seems to do some updating, but not the way I want it: I'd like to see the bar reach the end when the last file is copied.
I read this topic, but I had trouble following the conversation: http://forums.winamp.com/showthread....ight=copyfiles
Any help is welcome, thanks in advance.
edit: This is what I have so far:
${RecFindOpen} "$EXEDIR\installer_files" $R0 $R1
DetailPrint "Dir: $R0"
${RecFindFirst}
${GetSize} "$EXEDIR\installer_files\$R0" "/M=$R1 /S=0K /G=0" $0 $1 $2
DetailPrint "File: $R0\$R1 ($0 KB)"
; CopyFiles /SILENT "$EXEDIR\installer_files\$R0\$R1" "$INSTDIR"
${RecFindNext}
${RecFindClose}