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 Script after feature prerequisite SQL Server
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
Jun 17, 2010
05:31 PM
SQL Script after feature prerequisite SQL Server
Hello,
I have 2 features, one that includes SQL Server express and one that does not. I also have SQL Scripts I want to be installed AFTER the sql server is installed as a feature prerequisite.
The other problem I am facing is the SQL login for the sql scripts comes up directly after starting the install, instead of after SQL server pre-req install in the optional feature.
Any help would be appreciated!
Thanks!
I have 2 features, one that includes SQL Server express and one that does not. I also have SQL Scripts I want to be installed AFTER the sql server is installed as a feature prerequisite.
The other problem I am facing is the SQL login for the sql scripts comes up directly after starting the install, instead of after SQL server pre-req install in the optional feature.
Any help would be appreciated!
Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 18, 2010
02:42 PM
In order to run a SQL script depending on a feature state, you need to specify the Script Condition setting available in the Runtime tab. For example, the conditional expression "&MyFeature=3" evaluates to True only if MyFeature is changing from its current state to the state of being installed on the local computer, INSTALLSTATE_LOCAL.
Also, you may want to try sequencing the SQLLogin dialog with the forementioned condition after the ISInstallPrerequisites action in the InstallUISequence table so that the dialog is displayed after the SQL Server pre-req install.
Hope that helps.
Also, you may want to try sequencing the SQLLogin dialog with the forementioned condition after the ISInstallPrerequisites action in the InstallUISequence table so that the dialog is displayed after the SQL Server pre-req install.
Hope that helps.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)