I have wxs include the following:

  <?ifndef $(env.Version)?>
  <?define version = "1.0.0.0" ?>
  <?endif ?>

  <?ifdef $(env.Version)?>
  <?define version=$(env.Version)?>
  <?endif?>

I expect the version will be 1.0.0.0 if environment variable "Version" is not 
defined and
When environment variable "Version" is defined for example 2.0.0.0, the version 
will be the 2.0.0.0.

However, I always get 1.0.0.0, no matter what the value of the environment 
variable "Version" is.

Can someone please let me know how to fix it?

Thanks much,
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to