That's what I thought to, but adding that line to the project file
prevents the file from being loaded into VS.

VS throws "Value does not fall within expected range"

<compile include="$(envvar)foo.wxs" />


-Michael 2243


-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: Friday, March 05, 2010 11:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] wixproj <compile> question

wixproj files are msbuild files, not wix files, so you would use the
msbuild syntax to read the value of an environment value, which is just
$(envvar)

<compile include="$(someenv)\foo.wxs" />

-----Original Message-----
From: Michael Clark [mailto:mcl...@fullarmor.com] 
Sent: 05 March 2010 15:52
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] wixproj <compile> question

Quick question.

 

when using

 <compile include="foo.wxs" />

 

 is it possible  to do

 

 <compile include="$(env.someenv)\foo.wxs">.

 

I have tried several permutations and can't seem to get it correct.

 

Release Engineer

mcl...@fullarmor.com <mailto:mcl...@fullarmor.com>  

 

FULLARMOR Corporation

399 Boylston Street

11th Floor

Boston, MA 02116

Phone: 617.896.2243

Fax: 617.556.0221

www.fullarmor.com <http://www.fullarmor.com/> 

 

___________________________

This email and any files transmitted with it are confidential and may
contain Full Armor Corporation privileged and proprietary information.
These materials are intended solely for the use of the intended
recipient. If you are not the intended recipient, any use, distribution,
or disclosure of this transmission is prohibited.  If you have received
this email in error, please immediately notify the sender and delete the
message from your system.

 

 

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com";
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and
requires that you delete it without acting upon or copying any of its
contents, and we further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6 7DY, UK.
</font>



------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to