I have a scenario where I need to changed the value of a YesNoType attribute
based upon a property I specify. In particular, during our beta period, we
remove assemblies from the GAC. However, during release, we leak the
assemblies to the GAC. This is done by setting the Permanent attribute on a
component. I would like to do something like: 

<?if Beta = 0 ?>
<?define permanent = "Yes" ?>
<?else ?>
<?define permanent = "No" ?>
<?endif?>

<Component ... Permanent="$(var.permanent)" />

But the problem is variables don't match the YesNoType. 

Anybody got throughts on the best way to handle this issue?
-- 
View this message in context: 
http://n2.nabble.com/Using-Variables-with-YesNoType-Attributes-tp3182903p3182903.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to