Refer to pre-processor variables like this: <?if $(var.is20) ?> Rob
Lindsay Harris wrote: > Hi. This is probably a really stupid question but I am very new to wix… > > > > I was wondering if there is away to do this: > > > > If (a == b) > > C = “some string” > > Else > > C = “some other string” > > > > > > Under the <product> element (in other words I am not in a control or > dialog). > > > > I have been trying stuff like this but it doesn’t compile: > > > > <Property Id="is20"> > > <![CDATA[MsiNetAssemblySupport >= "2.0.50727"]]> > > </Property> > > > > <?if [is20]?> > > <Property Id="URT_VER" Value="2.0" /> > > <?else?> > > <Property Id="URT_VER" Value="1.1" /> > > <?endif?> > > > > > > Any help would be appreciated!! > > Thanks! > Lindsay Harris > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users