Click here to Skip to main content
15,905,612 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I develop a Basic MSI Project with Installshield 2010.

I have 3 sql connections, each of them has specific properties assigned to connect to the server.

Using the steps from this link, I customized 3 SQLLogin dialogs.

So, my controls have customized properties which are assigned to sql connections.

Here I have some problems:

1) RadioButtonGroup1 has a property called IS_SQLSERVER_AUTHENTICATION_1. If I try to switch between its components, Login ID and Password are still disabled. Somewhere it has to be a link between RadioButtonGroup1 and IS_SQLSERVER_USERNAME_1 / IS_SQLSERVER_PASSWORD_1 to enable/disable username and password. Where can I set this connection?

2) Let's say the order of dialogs are SQLLogin1 -> SQLLogin2 -> SQLLogin3, each of them has some conditions to appear in wizard (it exists one case when is skiped SQLLogin1).
**When all conditions are accomplished, In SQLLogin1, when I click Browse to check the sql servers available, in SQLBrowse1 all servers are fine.
--Click next, SQLLogin2 dialog appears. Doing the same way, click Browse to check the sql servers available and the SQLBrowse2 dialog is empty.
--Click next again, SQLLogin3 dialog appears. Doing the same way, click Browse to check the sql servers available and the SQLBrowse3 dialog is empty.
**If the conditions skip SQLLogin1:
--In SQLLogin2, click Browse, all servers are fine in SQLBrowse2.
--Click next, SQLLogin3 dialog appears. Doing the same way, click Browse to check the sql servers available and the SQLBrowse3 dialog is empty.

why the action ISSQLServerList works well just first time when is running?

Thanks for your time!
Posted
Updated 15-Dec-11 21:15pm
v2
Comments
nicoleta.cristian 20-Dec-11 5:14am    
First problem solved:

Edit Conditions for SQLLogin1 dialog Behavior (there are 3 tags: Events, Cubscriptions and Conditions): add Disabled action with IS_SQLSERVER_AUTHENTICATION_1=0 condition and Enabled action with IS_SQLSERVER_AUTHENTICATION_1=1.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900