We have been trying to compile long strings (>8192) to create a database update program (runs queries on the MSSQL database). The existing NSIS system (v2.5 or v3.0) cannot compile our strings. Previously, a special built of NSIS (NSIS Special Build - Logging and Long String (8192 byte)) was reported here, but is has compilation issues in login in. Anybody has a special built that can compile scripts with strings >8192? Thank you.
0
votes
1 Answers
0
votes
Usual route to avoid similar issues is a creating helper script (js or vbs), move text processing here and call it as external like:
nsExec::ExecToStack 'cscript /NOLOGO //E:jscript script.js param1 param2...'
ExecToStack will execute script invisible from user and place result to stack.
Also, you can (but it more hard in implementation) write text processing using manual memory alloc with buffered binary input/output.