Try it lowercased: 'yes' and 'no', instead of 'Yes' and 'No'. -- Yan
-----Original Message----- From: jnewton [mailto:jonathan.new...@ni.com] Sent: Tuesday, June 30, 2009 5:46 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Using Variables with YesNoType Attributes 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-tp3182903 p3182903.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 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users