This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- SQL Scripts - can you refresh Script at build time
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2011
08:31 AM
SQL Scripts - can you refresh Script at build time
Is there a way to have the SQL Script file refreshed automatically at build time from a SQL Script file?
I was able to get the install to correctly run my script. However, it seems Installshield pulls the contents of the SQL Script file in and does not refresh from the SQL file ( we build the SQL file during our DB build process).
Keith
I was able to get the install to correctly run my script. However, it seems Installshield pulls the contents of the SQL Script file in and does not refresh from the SQL file ( we build the SQL file during our DB build process).
Keith
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2011
07:24 PM
Hello kvarga.
I do not completely understand the problem you are facing,but if you are using IS 2011 Premier,
you can use 'Build Event' function in relase view.
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/ReleaseGridPostBuildTab.htm
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/SpecifyingBuildEvents.htm
To use Build Event 'Prebuild Event', you can run a *.bat file before building process. So it may be able to over-write/change/refresh
your SQL script located under product folder
I do not completely understand the problem you are facing,but if you are using IS 2011 Premier,
you can use 'Build Event' function in relase view.
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/ReleaseGridPostBuildTab.htm
http://kb.flexerasoftware.com/doc/Helpnet/InstallShield2011/SpecifyingBuildEvents.htm
To use Build Event 'Prebuild Event', you can run a *.bat file before building process. So it may be able to over-write/change/refresh
your SQL script located under product folder
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2011
08:46 AM
I was wondering if I can have the InstallScript Consume a SQL script, rather than import a SQL script.
I'm looking for something along the lines of:
executeSQLScript(SUPPORTDIR ^ "SQLScript.sql");
Does anybody have an answer for this? The SQL Script view seems to open a script file and import, and if I change the script file on my harddrive, changes are not made to the file.
Regards,
J
I'm looking for something along the lines of:
executeSQLScript(SUPPORTDIR ^ "SQLScript.sql");
Does anybody have an answer for this? The SQL Script view seems to open a script file and import, and if I change the script file on my harddrive, changes are not made to the file.
Regards,
J
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 17, 2011
12:19 AM
If you are using the sql script functionality of IS then under a new sql connection try to select Insert Script Files... rather than Import Script Files... it will point to the original location so that when you edit the sql files in the path it will get reflected automatically.