InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The SQLServerSelect function creates a dialog that lets the end user select a database server.
This function is in the SQLRT.obl file for InstallScript projects, and in the SQLCONV.obl file for InstallScript MSI projects. If you are using the SQL Scripts view in InstallShield, the appropriate file is automatically added to your linker settings. However, if you are not using this view, add the appropriate file to your linker settings: On the Build menu, click Settings, and then add it to the Libraries (.obl) box.
Syntax
SQLServerSelect( szMsg, svServer );
Parameters
Parameter |
Description |
szMsg |
Specifies the message to display in the dialog. To display the default instructions for this dialog, pass a null string (“”) in this parameter. |
szServer |
Specifies the default server to initially display in the Server combo box. Once the dialog function returns, this parameter contains the server name that the end user selected or entered in the Server combo box. |
Return Vaues
Return Value |
Description |
NEXT |
The end user selected the Next button. |
BACK |
The end user selected the Back button. |
< ISERR_SUCCESS |
The dialog could not be displayed. |
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |