Hi wix-users,
 
I have one dialog, which has two radion buttons. I want to use this
radio button to decide custom action to be called or not.
 
<Control Type="RadioButtonGroup" Property="DoCA" Id="Upgrade" Width="50"
Height="42" X="68" Y="100">

<RadioButtonGroup Property="DoCA">

<RadioButton Value ="DoIt" Text="New" Height="17" Value="0" Width="50"
X="0" Y="0" />

<RadioButton Value ="NotDoIt" Text="Upgrade" Height="17" Value="1"
Width="50" X="0" Y="25" />

</RadioButtonGroup>

</Control>

I want "MyCA" to run when RadioButton "DoIt" is checked. So the custom
action is defined as:

<CustomAction Id="MyCA" Property="DoCA" Value="DoIt" FileKey="MyCA.exe"
ExeCommand="Call MyCA" Return="asyncWait" />

However, I got the compile error:

d:\InstallDirDlg.wxs(52,0): error CNDL0022: The CustomAction/@FileKey
attribute cannot coexist with a previously specified attribute on this
element. The CustomAction element may only have one of the following
source attributes specified at a time: BinaryKey, Directory, FileKey,
Property, or Script.

How to modify the custom action to avoid this error?

 

Best regards,

 

Chunyan

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to