Yathosho
18th August 2003 20:19 UTC
query mySQL db
is it possible to use nsis to query a mysql database and use detailprint to report the entries in the nsis status. if this works via a tool i can execute using nsExec that'd do the job aswell. the thing is that i don't know how to get the query results to the status window.
Afrow UK
18th August 2003 21:59 UTC
I don;t know what a mysql databas eis like, but if it's just a file, then would FileRead and some string manipulation function calls in a loop do the trick?
-Stu
Dick4
19th August 2003 04:49 UTC
not quite the same, but I've done some things with vbscript to query an access database and then pass the values to NSIS either by INI file or some other method...just an idea
Sunjammer
19th August 2003 12:12 UTC
Maybe you should just use the mysql.exe to issue queries (hopefully you can do this) and capture the output using nsexec. Otherwise you'll have to write a plugin or System code.
jayfox911
14th January 2009 17:16 UTC
Originally posted by Dick4
not quite the same, but I've done some things with vbscript to query an access database and then pass the values to NSIS either by INI file or some other method...just an idea
Can you share this code. I am trying to query a MS Access database in NSIS