SQL Database Browse - Advanced Installer Community
scotcro
Posts: 6
Joined: Fri Nov 25, 2011 4:41 am

SQL Database Browse

I cannot figure out why I cannot get a ComboBox to populate with the databases from a database on the local machine when I click a button.

If I configure the Sql Browse function to trigger on the SQL Dialog Initialize then I get 1 of the real database names in the combo list.

if I change the combolist to just a list and change the Sql Browse function to fill it, then I get the list but *ONLY* when set to browse on SQL Dialog Initialize.

Note: the Trusted Connection checkbox is not wired up to anything yet.
DatabaseBrowse_1_AI_11_8.png
DatabaseBrowse_1_AI_11_8.png (324.68 KiB) Viewed 2478 times
DatabaseBrowse_2_AI_11_8.png
DatabaseBrowse_2_AI_11_8.png (328.08 KiB) Viewed 2478 times
DatabaseBrowse_3_AI_11_8.png
DatabaseBrowse_3_AI_11_8.png (231.89 KiB) Viewed 2478 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: SQL Database Browse

Hello,

This may happens because Windows Installer does not refresh the dialog when you execute the event from the related button. So, this is a Windows Installer limitation.

To overcome this, you can use the following approaches: To visually discover this feature from Advanced Installer, you can take a look on the SQL Browsing video.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”