PDA

View Full Version : Check for sql database


Vankov
29th July 2009, 10:44
How to check for database with osql.exe on nsis?

Afrow UK
29th July 2009, 11:17
Did you search the forum?

Stu

jpderuiter
29th July 2009, 11:23
Using OSQL.exe with NSIS:
http://forums.winamp.com/showthread.php?s=&threadid=246741

general OSQL.exe usage:
http://www.osql.org/

What do you want to do exactly?
Maybe you can use the MSSQL plugin:
http://nsis.sourceforge.net/MSSQL_OLEDB_plug-in

Vankov
29th July 2009, 11:33
Yes i searched,but the sample in the forum is very little and have only 1-2 commands.I can`t use plugin,because plugin not support windows 2003!

Afrow UK
29th July 2009, 11:36
It's up to you then to create the required OSQL.exe command line and then execute it with ExecDos /TOSTACK (for example).

Stu

sgiusto
31st July 2009, 07:29
Hello,
I will update the documentation,
the plugin support any version of windows with MDAC installed
It works fine on Win2k3 and win2k8 (32 and 64bit)
Stefano