condition - wix selectTree dosn't update -


i'ąm trying instaler thats components on selectedtree dependent on property value. create own ui dialog edit componen binded property.

    <?xml version="1.0" encoding="utf-8"?> <wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <fragment>     <ui id="wixui_producttype">       <propertyref id="productkey" />       <dialog id="productchoosedlg" width="370" height="270" title="product key">         <control id="description" type="text" x="25" y="23" width="280" height="15" transparent="yes"  noprefix="yes" text="specify product" />         <control id="title" type="text" x="15" y="6" width="200" height="15" transparent="yes" noprefix="yes" text="product code" />         <control id="bannerbitmap" type="bitmap" x="0" y="0" width="370" height="44" tabskip="no" text="!(loc.installdirdlgbannerbitmap)" />         <control id="bannerline" type="line" x="0" y="44" width="370" height="0" />         <control id="bottomline" type="line" x="0" y="234" width="370" height="0" />          <control id="control_label" type="text" x="20" y="100" width="105" height="30" noprefix="yes" text="please enter code:" />         <control id="control_edit" type="edit" x="125" y="98" width="50" height="16" property="productkey"/>          <control id="next" type="pushbutton" x="241" y="243" width="60" height="17" text="next">           <publish event="newdialog" value="customizedlg" order="1"></publish>           <publish property="productkey" value="ne05" order="2"></publish>           <condition action="disable"><![cdata[productkey = "all"]]></condition>           <condition action="enable"><![cdata[productkey <> "all"]]></condition>         </control>         <control id="back" type="pushbutton" x="180" y="243" width="60" height="17" text="back">           <publish event="newdialog" value="welcomedlg"></publish>         </control>       </dialog>     </ui>     </fragment> </wix> 

but problem when change value selectedtree dosn't update ownself. have same choose list. feature has own condisions check property value.

<feature id='featureexportmodule' title='export module' description='' level='0'>     <componentref id='componentdatamigration.modules.export' />     <condition level='1'><![cdata[productkey = "expo"]]></condition>   </feature> 

its work when manualy set value in xml. how fix it?

 <property id="productkey" value="expo"/> 

short answer - feature conditions evaluated before ui starts. see feature conditions , ui.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -