Hi all,
I'm attempting to use the Indirect property and a RadioButtonGroup, but am
running into difficulties. My fragment looks like this:
<Control Id="SqlAuthenticationTypes" Type="RadioButtonGroup" X="20" Y="60"
Width="330" Height="40" Property="SQL_USE_INTEGRATED" Indirect="yes">
<RadioButtonGroup Property="SQL_USE_INTEGRATED">
<RadioButton Value="1" X="20" Y="0" Width="295" Height="16"
Text="!(loc.SqlAuthenticationDlg_UseIntegrated)" />
<RadioButton Value="0" X="20" Y="20" Width="295" Height="16"
Text="!(loc.SqlAuthenticationDlg_UseSqlServer)" />
</RadioButtonGroup>
</Control>
and then in another fragment I have:
<Property Id="SQL_USE_INTEGRATED" Value="MY_SQL_USE_INTEGRATED" />
<Property Id="MY_SQL_USE_INTEGRATED" Value="1"/>
When I run light I get the following error:
error LGHT0204: ICE34: 1 is not a valid default value for the property
MY_SQL_USE_INTEGRATED. The property is an indirect RadioButtonGroup property
of control SqlAuthenticationDlg.SqlAuthenticationTypes (via property
SQL_USE_INTEGRATED).
And when I run the MSI I get
DEBUG: Error 2855: The radiobutton group SqlAuthenticationTypes on dialog
SqlAuthenticationDlg has fewer than 2 buttons
My tables in the MSI look like this:
Control
Dialog|Control|Type|X|Y|Width|Height|Attributes|Property|Text|Control_Next|Help
SqlAuthenticationDlg|SqlAuthenticationTypes|RadioButtonGroup|20|60|330|40|11|SQL_USE_INTEGRATED|SqlUser|
Property
Property|Value
SQL_USE_INTEGRATED|MY_SQL_USE_INTEGRATED
MY_SQL_USE_INTEGRATED|1
RadioButton
Property|Order|Value|X|Y|Width|Height|Text|Help
SQL_USE_INTEGRATED|1|1|20|0|295|16|Use Windows Authentication|
SQL_USE_INTEGRATED|2|0|20|20|295|16|Use SQL Server Authentication|
Clearly I'm doing something incorrectly, but I'm not sure what! Any ideas?
Maybe somebody has a sample making more extensive use of the Indirect
attribute with various controls?
Thanks,
Dean
--
View this message in context:
http://n2.nabble.com/-WiX-users--Indirect-and-RadioButtonGroup-tp1118480p1118480.html
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users