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
- :
- Re: Can't Skip Sql Scripts Connection
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
‎May 08, 2013
12:41 PM
Can't Skip Sql Scripts Connection
I was previoulsy using InstallShield 12 to package a product that would add a Microsoft SQL Server database as part of the installation (using a SQL Script). If the user did not choose a Server at that step and clicked [Next], it would simply skip the addition of the database. That is what I want to happen.
I am now looking to upgrade to InstallShield 2012 Spring SP1 because of issues we were having with InstallShield 12. I believe I have everything working correctly but it no longer allows the user to skip the database creation step. When the user clicks [Next], it tries to find a server with no name and returns an error message of "...not found".
There is a box to "Allow installation to continue when minimum requirements are not met". I tried checking this and it has not effect on it. Is there anyway to change this?
I am now looking to upgrade to InstallShield 2012 Spring SP1 because of issues we were having with InstallShield 12. I believe I have everything working correctly but it no longer allows the user to skip the database creation step. When the user clicks [Next], it tries to find a server with no name and returns an error message of "...not found".
There is a box to "Allow installation to continue when minimum requirements are not met". I tried checking this and it has not effect on it. Is there anyway to change this?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 10, 2013
12:49 PM
You can accomplish it by changing the condition of the control events for the Next button control on the SQLLogin dialog as follows:
[LIST=1]
Go to the Dialogs view.
In the Dialogs tree, find the SQLLogin dialog under the All Dialogs node.
Expand the SQLLogin dialog node and select the Behavior.
In the SQLLogin Dialog Behavoir pane, select the Next button control.
Change the condition of the DoAction and NewDialog events as follows:
[table="width: 700, class: grid, align: left"]
Event
Argurment
Condition
DoActio
ISSQLServerValidate
IS_SQLSERVER_SERVER<>""
NewDialog
SetupType
IS_SQLSERVER_STATUS=0 OR IS_SQLSERVER_SERVER=""
[/table]
![](/legacyfs/online/vb/10073_screenshot.png)
Hope that helps.
[LIST=1]
[table="width: 700, class: grid, align: left"]
Event
Argurment
Condition
DoActio
ISSQLServerValidate
IS_SQLSERVER_SERVER<>""
NewDialog
SetupType
IS_SQLSERVER_STATUS=0 OR IS_SQLSERVER_SERVER=""
[/table]
![](/legacyfs/online/vb/10073_screenshot.png)
Hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 10, 2013
02:19 PM
Thanks for the guidance but I'm wondering if this is only half of the solution. I was playing around with these events and was able to get passed the SQLLogin screen. However when it came time to install, it was still trying to create a database on a Server name of blank.
What I ended up doing was adding a Script Condition (on the Runtime tab of the script) of: IS_SQLSERVER_SERVER<>"". It looks like it is giving me what I want now.
Thanks for you help!
What I ended up doing was adding a Script Condition (on the Runtime tab of the script) of: IS_SQLSERVER_SERVER<>"". It looks like it is giving me what I want now.
Thanks for you help!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)