Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Execution of SQL files


3 replies to this topic

spacer21

spacer21
  • Members
  • 19 posts

Posted 05 July 2004 - 13:48

hi,

i have included SQL Server files in my setup. these files contain different stored procedures, triggers etc. i want that when my setup completes copying files it then run these sql files so, the client must not worry about to run these files manually, in order to get the updated version.

is there any way to do that?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 July 2004 - 15:51

Are you using InstallShield X ?

spacer21

spacer21
  • Members
  • 19 posts

Posted 06 July 2004 - 06:32

i m using InstallShield DevStudio 9.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 July 2004 - 08:55

In this case I think you would have to create a custom action that launches OSQL (?) to run your sql scripts.
InstallShield X has built in functionality to connect to a SQL Server and run sql scripts during installation.