try using $(env.PAYMETRIC_HOME)
<Property Name="PAYMETRIC_HOME" Value="$(env.PAYMETRIC_HOME)"/>
*Mike Rerick*
*Sr. Software Engineer*
[image: Google Docs] <http://www.iwsinc.com>*ImageWare Systems, Inc.*
9200 S.E. Sunnybrook Blvd., Suite 170
Clackamas, OR 97015
Office: (503) 353-8068 Fax: (503) 353-8065
On Wed, Jun 17, 2009 at 11:57 AM, Andrea Adams <[email protected]> wrote:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> The information contained in this transmission contains potentially
> privileged, export controlled and/or confidential information of Imageware
> Systems, Inc. or its customers or partners. It is intended only to be read
> by the person(s) named above and for no other purpose. You are hereby
> notified that any dissemination, distribution, duplication of this
> communication or use of its contents for any purpose not authorized
> expressly by Imageware Systems, Inc. is strictly prohibited and could lead
> to both civil and/or criminal penalties. If you are not the intended
> recipient, you are prohibited to review the contents herein and please
> contact the sender by reply e-mail and destroy all copies of the original
> message. To reply to our e-mail administrator directly, please send an
> e-mail to [email protected]
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users