We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

meetshashank
Posts: 17
Joined: Fri Aug 05, 2011 3:16 am

Get Server name and Database name

Hi All-

I am using Advance Installer for installation of SQL patches.
I am using Browse Server /Browse Database wizard to get database name as well as Server Name.
I want to get database name based on the selection of the server name in Server List box and the same values used next wizard.

I am using following properties:
Name : SqlServerListBoxId PropertyName : SqlServerBrowseListBox
Name:SqlServerDatabaseListBoxId PropertyName : SqlServerDatabaseListBox
Name: UsernameEdit PropertyName :USERNAME_PROP
Name: PasswordEdit PropertyName :PASSWORD_PROP

When i use textbox for database name and enter value manually and Listbox for server name wizard works properly and give desired results
But when i use list box for server name and list box for database(which show for local server database names) it won’t select the database properly and gives error.

Is there any way i can read database server name and database name from text,config file?

Can u please suggest it’s very urgent.

Many Thanks
Shashank
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Get Server name and Database name

Hi Shashank,
But when i use list box for server name and list box for database(which show for local server database names) it won’t select the database properly and gives error.
The behavior should be the same as for the textbox control, are you sure you are using the correct properties?
s there any way i can read database server name and database name from text,config file?
Using the latest version you can read an XML file, here is a tutorial to help you with that.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Get Server name and Database name

My pleasure.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”