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: InstallScriptMSI - Custom SQLServerSelectLogin2
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
‎Feb 09, 2010
02:06 PM
InstallScriptMSI - Custom SQLServerSelectLogin2
Hello, I have an InstallScript MSI project in which I would like to make some customizations to the behavior of this dialog box. Specifically, I would like to control the population of the database catalog browse button to include only databases that I select. This would be databases where my companies application has been installed - basically excluding extraneous databases like AdventureWorks, Northwind, etc.
I would appreciate any pointers on how or if this could be done!
Tim
I would appreciate any pointers on how or if this could be done!
Tim
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2010
04:41 PM
One thing you can do is to specify a custom query for the QueryDatabasesCmd column of the ISSQLDbMetaData table in your InstallShield project using the Direct Editor. It is the T-SQL statement that InstallShield runs to get database catalogs, and the default value is "select name from master.dbo.sysdatabases".
Hope that helps.
Hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2010
04:59 PM
Thanks hidenori, I think this will work nicely!
Tim
😄
Tim
😄
