File Size limit when using File Read?
So I have a problem when using FileRead. The problem appears to be a file size limit when using FileRead. For each of the targets I am building, I have a command file, which is read through and parsed, and that command file tells the installer how to extract files from external zip files.
Keep in mind that these targets can have anywhere from 20 to 200,000 files, and be as large as 20gb. The problem I've encountered, is that when the target has a large number of files, the command file wil grow accordingly, and when the installer then attempts to call FileOpen, and then FileRead, FileRead fails and returns me 0 data, on the first read of the file. This work perfectly with targets that have much smaller sets of files. An example of a failing target would be a target that has 10k of files, and it creates a command file of 500kb.
So does NSIS have a a buffer it reads the entire file into? If so what is the length of the buffer? I can certainly split the command file into multiple files. By the looks of the command I was expecting maybe a windowed buffer, or straight reads from the file itself.