Hi All,

 

I'm working on an install that uses a Custom Action to validate an
authorization key.  Depending on the value of the key, I want to disable
the features that aren't authorized.  I know you can disable a feature
by setting it's level to '0' via a conditional, so my CA sets a
property, Auth[feature name] to '0' or '1' depending on whether or not
it's authorized.  For example, the BASE feature checks the AuthBASE
property.  My feature definition looks like this:

 

<Feature Id='BASE' Title='This is the BASE feature' Level=1
AllowAdvertise='no'>

  < ... component references ... >

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

</Feature>

 

The problem is that this doesn't work.  I can change the condition to
...>NOT AuthBASE = "0"</... and the feature goes away, but that just
seems to say AuthBASE isn't known.  I've checked the log and the Auth...
properties are set before the FeatureTree dialog shows up, and they're
set correctly.

 

What am I doing wrong here?  Thanks for any advice.

 

                                                Lewis

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to