Add the condition for enable also and try:

<Condition Action="enable"> NOT WIX_UPGRADE_DETECTED </Condition>


-----Original Message-----
From: geshete [mailto:[email protected]] 
Sent: Friday, March 28, 2014 2:03 PM
To: [email protected]
Subject: [WiX-users] WIX ComboBox default value

I would like to disable and show default value for the ComboBox if it is 
MajorUpgrade. otherwise enable ComboBox and no item should be selected just 
show the list when dropdown is selected.  

<Property Id="DefaultValueID" Value="test"/>

<Control Id="ComboBox1" Type="ComboBox" X="130" Y="85" Width="130"
Height="17" Property="ITEMNAME"> 
         <ComboBox Property="ITEMNAME">
               <ListItem Text="One" Value="1"/>
               <ListItem Text="Two" Value="2"/>
         </ComboBox>
        <Condition Action="disable" >WIX_UPGRADE_DETECTED</Condition> </Control>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-ComboBox-default-value-tp7593832.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to