Hi...
I recently ran into a number of problems trying to change wix project
behavior based on environment variable settings. A number of the things that
sounded intuitive to me didn't work.
For example
<?ifdef $(env.A) ?>
<?define myVar="foo" ?>
<?else?>
<?define myVar="bar" ?>
<?endif?>
didn't work because ifdef returns false for all environment variables always
whether they are set or not.
<?if $(env.A) ?>
<?define myVar="foo" ?>
<?else?>
<?define myVar="bar" ?>
works as long as $(env.A) is defined, but if it's not, Candle generates an
exception.
Is there any way to test for environment variable existence before you try
to use it in Wix?
Thanks
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users