Archive: Running SQL Scripts after installation


Running SQL Scripts after installation
Howzat!

I would like to know if it is possible to execute SQL scripts against a SQL Server Instance on a desktop after the setup completes.

Also, is it possible to execute a replication script after installation in order to setup a DB on the server as a replication DB for the supporting application (C# PDA App.)

I am a newbie to this, so any assistance would be greatly appreciated as I am under pressure to have this done by next week Wednesday (6 days from now...)

Thanks in advance!

John
;)


Docs can help to execute any application, if you know how to do this without NSIS, so you can start this from installer.
NSIS User Manual 4.7.2.1.4 .onInstSuccess or
Modern UI Readme, 3. Pages, Finish Page Settings, MUI_FINISHPAGE_RUN & MUI_FINISHPAGE_RUN_FUNCTION defines.
But if you need help with SQL script itself, might be better to ask this on the SQL forum ;)


Hi there!

Thanks for the response! I think that you are right and will post my request on the SQL side.

Thanks again!

John
;)


Re: Running SQL Scripts after installation
where can I find some references about SQL in NSIS?