I need to put a file in a temporary location and then modify it using
XmlFile. The problem is that I need to tell XmlFile the exact path to
the file, but how can I determine what that is?

Here's my code:

<Directory Id="TempFolder">
  <Component Id="ContextXMLFile" DiskId="1" Guid=...>
    <File Id="CONTEXT.XML" Name="CONTEXT.XML"
LongName="$(var.contextfile)" Source=... />
      <XmlFile  Id=...
                Action="setValue" 
                File="[***what do I put here?***]$(var.contextfile)" 
                ElementPath=...
                Value=.../>



Some tricks I've tried and discarded:

    <Property Id="TMPDIR" Value="$(env.TEMP)\" />  This is the temp dir
on the build machine
    <Property Id="TMPDIR" Value="%TEMP" />         Doesn't work

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to