Environment Tag in *.wxs not supported.
I am trying to port one of my msi generations to msitools and ran into a problem where I see the Environment variable is not recognised.
** (wixl:33192): ERROR **: 12:30:26.713: wix.vala:218: unhandled child Component node Environment
Here is the extract of my directory part of the xml that has the environment added under a component. Would you guys have any work arounds for this at the moment?
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="$(var.Program_Files)">
<Directory Id="INSTALLDIR" Name="testapp">
<Component Id="ApplicationFiles" Guid="45e5e858-9372-4449-bf73-1cd6f7267128">
<File Id="ApplicationFile0" Source="testapp.exe"/>
</Component>
</Directory>
</Directory>
<Component Id="ENVS" Guid="7bb74449-d10d-4f4a-933e-6fc9fa006eae">
<Environment Id="ENV0"
Name="CUSTOMPATH"
Value="[INSTALLDIR]."
Permanent="no"
Part="all"
Action="set"
System="yes">
</Component>
</Directory>