hey all

I am using heat to harvest a directory like so

 <HeatDirectory
      Directory="..\..\..\Solution\bin\Connectors"
      OutputFile="Generated\ConnectorComponents.wxs"
      PreprocessorVariable="var.BuildOutputConnectorFolder"
      ComponentGroupName="Components.Connectors"
      SuppressCom="true"
      AutogenerateGuids="true"
      DirectoryRefId="INSTALLFOLDER"
      SuppressRegistry="true"
      ToolPath="$(WixToolPath)" />

Which generates a *.wxs file like so

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Fragment>
        <DirectoryRef Id="INSTALLFOLDER">
            <Directory Id="dir073E9E9A23A511104C25567F6FFD1AE4"
Name="Connectors" />
        </DirectoryRef>
    </Fragment>
    <Fragment>
        <ComponentGroup Id="Components.Connectors">
            <Component Id="cmp6EF4388A071855C21085CD8ED8B42EFD"
Directory="dir073E9E9A23A511104C25567F6FFD1AE4" Guid="*">
                <File Id="fil9F4EF38A3D1A1F1575F69FD743E76A25"
KeyPath="yes"
Source="$(var.BuildOutputConnectorFolder)\CachingConnector.dll" />
            </Component>

Is there a way to specify a include directive with Heat so
that $(var.BuildOutputConnectorFolder) is defined when you
compile ConnectorComponents.wxs file ?

Thanks in advance
Raj
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to