wix - How to install a feature dependant on a condition -


i'm trying install feature if condition true.

according tutorials should work this:

<feature id='parentfeature' id='default'          title='wix sample app'          description='the complete package of wix sample app.'          display='expand'          level='1'          configurabledirectory='installdir'>    <feature id='childfeature' title='appconfig internal' level='1'>     <componentref id='myapp.exe' />   </feature>    <!-- conditional feature  -->   <feature id='optionalchildfeature' title='appconfig internal' level='0'>     <componentref id='myapp.exe.config' />     <condition level='1'><![cdata[true]]></condition>   </feature> </feature> 

my example results in not getting optional feature installed, expected installed.

the resources used:

update:

i tried make prototype didn't work. worked , identify problem in previous steps (a property not correctly set).

you're condition of "true" doesn't make sense. true public property called true. presumably, nothing set have value condition evaluates false , hence feature remains @ installlevel 0 , isn't installed.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -