Keith,

To get "feedback" from your call to osql.exe, you can use the "Run Command Line" or "Run Program" script functions and mark the "Wait for Program" checkbox. When osql.exe terminates, you should have a return value in the %_SB_ERRORCODE% runtime variable.

Does this help?

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner