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
- :
- SQLServerSelect Browse List Empty
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 12, 2011
04:30 PM
SQLServerSelect Browse List Empty
InstallScript MSI project.
I've added the SQLServerSelect Dialog. When I click on the Browse button, the list of servers is blank. I've seen other posts about adding a dummy SQLConnection which I have done and I have also added a dummy SQL Script under that connection. I've also created a feature called "Database" that is checked and the script is associated with that feature.
So, why is the list blank? If I go into SSMS and try adding a server, I see a very long list of servers so I know that they exist.
Thoughts?
Thanks,
Greg
I've added the SQLServerSelect Dialog. When I click on the Browse button, the list of servers is blank. I've seen other posts about adding a dummy SQLConnection which I have done and I have also added a dummy SQL Script under that connection. I've also created a feature called "Database" that is checked and the script is associated with that feature.
So, why is the list blank? If I go into SSMS and try adding a server, I see a very long list of servers so I know that they exist.
Thoughts?
Thanks,
Greg
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2011
10:16 AM
Looks like adding the following before calling the SQLServerSelect dialog makes the list work:
Sure would've be nice to know that from the documentation.
SQLRTInitialize2();
Sure would've be nice to know that from the documentation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 18, 2011
04:32 AM
Hello,
it is to find in IS Help Library:
"Using the SQL Run-Time Functions in InstallScript and InstallScript MSI Projects"
If you need to call one of the SQLRT functions before the OnSQLServerInitialize or OnSQLLogin events, you must first call the SQLRTInitialize2 function.
it is to find in IS Help Library:
"Using the SQL Run-Time Functions in InstallScript and InstallScript MSI Projects"
If you need to call one of the SQLRT functions before the OnSQLServerInitialize or OnSQLLogin events, you must first call the SQLRTInitialize2 function.