Hi folks - I can't seem to figure out how to get the value of an environment variable and use it to set the value of the installation directory. I'm using WiX 3.0. Here's what I have right now (based on countless searches trying to figure out how to do this):
<Property Id="PAYMETRIC_HOME">[%PAYMETRIC_HOME]</Property> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="PAYMETRIC_HOME" Name="."> <Directory Id="INSTALLDIR" Name="XiPayWS"> I've also tried to set the property this way: <Property Id="PAYMETRIC_HOME" Value="[%PAYMETRIC_HOME]"</> But it's not getting the value of the environment variable. It is a system environment variable and is definitely set. Can anyone help? Thanks! Andrea ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users