Archive: Check for sql database


Check for sql database
How to check for database with osql.exe on nsis?


Did you search the forum?

Stu


Using OSQL.exe with NSIS:
http://forums.winamp.com/showthread....hreadid=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


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!


It's up to you then to create the required OSQL.exe command line and then execute it with ExecDos /TOSTACK (for example).

Stu


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