Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   query mySQL db (http://forums.winamp.com/showthread.php?t=146203)

Yathosho 18th August 2003 19:19

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 20:59

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 03:49

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 11:12

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 16:16

Quote:

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


All times are GMT. The time now is 18:06.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.