Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: msi installer wix
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 15-Dec-11 1:07am
Edited 15-Dec-11 21:15pm
v2
Comments
nicoleta.cristian at 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)

  Print Answers RSS
0 Gihan Liyanage 332
1 Sergey Alexandrovich Kryukov 330
2 ClimerChinna 222
3 vikinghunter 168
4 OriginalGriff 166
0 Sergey Alexandrovich Kryukov 8,363
1 OriginalGriff 7,112
2 CPallini 2,598
3 Richard MacCutchan 2,025
4 Abhinav S 1,788


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 16 Dec 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100