Oh, sorry I had the wrong syntax... It should have been:
<?ifdef env.PRODUCT_CODE ?>
<?define GenProductCode = $(env.PRODUCT_CODE) ?>
<?else?>
<?define GenProductCode = "*" ?>
<?endif?>
After the correction it worked as expected...
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ifdef-not-working-for-env-variable-tp688155p7587298.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users