Hi

I have a bunch of files that need to go into my .msi. I am using Wix 3.6
and VS2012. So all my files have release in the path to the source. I have
seen uses of things like $(var.foo) but I can't for the life of me figure
out how to set them. I'd like to save myself potential problems by creating
a variable for the build configuration so I can put it into all the source
file paths for my files.

So I need something like this:

<variable name=FOO>release</variable> <= part I cannot find in the schema
reference or the tutorial

:
:
<Component Id="C__2134E2C4B1417DD6D8122E1831D917DD"
Guid="{532B4785-BBB8-68E5-C7AD-66967CE47B20}">
              <File Id="_2134E2C4B1417DD6D8122E1831D917DD"
Name="ConfigEdit.exe.config" KeyPath="yes"  DiskId="1"
Source="..\ConfigEdit\bin\$(var.FOO)\ConfigEdit.exe.config" />
            </Component>
:
:

Thanks for any help and sorry for the dumb question, but I really need
something even more basic than the tutorial. The tutorial is a good, but
sometimes I felt like some of the explanations of the elements left out
which element this one could be inside of. The tutorial needs to show the
entire section of XML so the new user (me) gets a clue as to where to put
it.

]Monty[
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to