Hi there,

 

I seem to have a problem using conditions for a feature. I understand that at a feature node conditions allow to set the Level rather than deciding directly whether the feature will be installed or not (as it is with components).

However I tried to use a condition to enable a feature by using the method described in the Wix tutorial (http://www.tramontana.co.hu/wix/)

 

<Feature Id='myFeature' Level='1'>
  <ComponentRef Id='myComponent' />
  <Condition Level="0">NOT INSTALL_FLAG</Condition>
</Feature>

 

 

The idea being, if INSTALL_FLAG is set the condition is false hence it should be installed. If it is not set the condition is true hence it should not be installed.

However, what I find in my tests is that, the feature gets never installed regardless of the property INSTALL_FLAG being set or not.

This is also true if I change the condition to:

 

 <Condition Level="0">INSTALL_FLAG</Condition>

 

 

Is that some known bug? Am I simply completely misunderstanding what the condition is supposed to do in that context … What might I be doing wrong?

 

Any kind of indication what’s going on here would be appreciated.

 

Thanks

   Seb

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to