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

Executing SQL Scripts during install


2 replies to this topic

ekareem

ekareem
  • Members
  • 4 posts

Posted 27 April 2003 - 22:15

Hi
What would you do to run a SQL script (MyScript.SQL) during an install using custom actions?

Any references appreciated.

Thanks.
ekareem unsure.gif

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 01 May 2003 - 16:17

You could create a type 34 custom action which would execute isql.exe or osql.exe with the proper parameters to run your script. You could even use vbscript to launch the command using one of these types: 6, 22, 38, 54.



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project

ekareem

ekareem
  • Members
  • 4 posts

Posted 01 May 2003 - 17:44

Hi,
Thank you for your response.
Regards,
Ekareem

Edited by ekareem, 01 May 2003 - 18:18.