!include "MUI.nsh"
OutFile "temp.exe"
ShowInstDetails show
!define MUI_FINISHPAGE_NOAUTOCLOSE
!insertmacro MUI_PAGE_INSTFILES
Function .onInit
FileOpen $1 "test0.txt" a ; create file if not exist
FileClose $1
FunctionEnd
Section "Component" Sec1
CopyFiles "test0.txt" "test1.txt"
CopyFiles "test0.txt" "test2.txt"
CopyFiles "test0.txt" "test3.txt"
CopyFiles "test0.txt" "test4.txt"
CopyFiles "test0.txt" "test5.txt"
CopyFiles "test0.txt" "test6.txt"
CopyFiles "test0.txt" "test7.txt"
CopyFiles "test0.txt" "test8.txt"
CopyFiles "test0.txt" "test9.txt"
SectionEnd
CopyFiles is slow, one file per second
CopyFiles copies any file I have slowly, about one file every 1.1 seconds. I tried different types of examples with CopyFiles and different scripts. To duplicate the problem, try the example below and let me know what's up. Remember it creates a few temporary files in the current folder. Thanks.