简体   繁体   中英

Long String version of NSIS

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 was reported here, but is has compilation issues in login in. Anybody has a special built that can compile scripts with strings >8192? ,但是登录时存在编译问题。有人有特殊的版本可以编译字符串> 8192的脚本吗? Thank you.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM