Old 18th August 2003, 19:19   #1
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
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.
Yathosho is offline   Reply With Quote
Old 18th August 2003, 20:59   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 19th August 2003, 03:49   #3
Dick4
Member
 
Join Date: Mar 2002
Location: Mass
Posts: 85
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
Dick4 is offline   Reply With Quote
Old 19th August 2003, 11:12   #4
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
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.
Sunjammer is offline   Reply With Quote
Old 14th January 2009, 16:16   #5
jayfox911
Junior Member
 
Join Date: Jun 2007
Location: san diego, ca
Posts: 13
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
jayfox911 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump