Hi I'm new to WIX so bear with me with this simple question. J

 

Using VS2010 Votive, .NET 4, Wix 3.5

 

I'm in VS 2010 and I created a simple WPF project. Then I created a Wix
project (in the same solution), and added a reference to my WPF project in
my Wix project. All is good.

But the pre-processor statements don't seem to resolve.

 

For example the following line fails:

               <File Id="WixExample01.exe"
Name="$(var.MySetup.TargetFileName)" Source="$(var.MySetup.TargetPath)"
DiskId="1" KeyPath="yes" />

 

.however if I hard-code the path, it will build and work:

            

<File Id="WixExample01.exe" Name="WixExample01.exe"
Source="..\..\..\WixExample01\bin\debug\WixExample01.exe" DiskId="1"
KeyPath="yes" />

 

How can I get the relative folders and filenames working? I read the
documentation, but cannot seem to see what I'm doing wrong?

 

Brad.

 

 

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to