I figured it out, heat.exe -var env.appdir and candle.exe
-dappdir=..\_Release\Application candle are what I needed, unless
there's a better way?

-----Original Message-----
From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] 
Sent: 02 March 2011 10:13
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Heat generated fragment and source file location

Hi,

 

I'm using Wix for the first time to build an installation tool for a
project .  There are several output folders that have the release builds
built in a directory parallel to the wix source directory. I'm using
Heat to generate a fragment as there's too much to do by hand.  When I
try to build the msi using Light, it complains about not being able to
find the source files.

 

I'm generating my fragment with: 

 

heat.exe dir ..\_Release\Application -srd -sfrag -gg -dr AppFolder
-template:fragment -cg Application -sreg -pog:Binaries -pog:Symbols
-pog:Satellites -out application.wxs

 

and my main wxs file contains:

 

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id='ProgramFilesFolder' Name='PFiles'>

        <Directory Id='Toolkit' Name='Tookit' FileSource='..\_Release'>

                 <Directory Id='AppFolder' Name='Application'>

</Directory>

        </Directory>

      </Directory>

    </Directory>

 

    <Feature Id='Complete' Level='1'>

      <ComponentGroupRef Id='Application'/>

    </Feature>

 

If I add files manually to the AppFolder Directory light can find them
and include them in the project.  The files referenced in the fragment
cannot be found (they're in ..\_Release\Application).  How do I tell the
fragment where the files should be found?  

 

Thanks,

 

Matt

The information in this email (and any attachments) is confidential and
is intended solely for the use of the individual or entity to whom it is
addressed. If you received this email in error please tell us by reply
email (or telephone the sender) and delete all electronic copies on your
system or other copies known to you. Trainline Investments Holdings
Limited (Registered No.5776685), Trainline.com Limited (Registered No.
3846791) and Trainline Scotland Limited (Registered No. 6881309) are all
registered in England and Wales with registered office at The Matrix, 9
Aldgate High Street, London, EC3N 1AH.
------------------------------------------------------------------------
------
Free Software Download: Index, Search & Analyze Logs and other IT data
in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT
data 
generated by your applications, servers and devices whether physical,
virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
The information in this email (and any attachments) is confidential and is 
intended solely for the use of the individual or entity to whom it is 
addressed. If you received this email in error please tell us by reply email 
(or telephone the sender) and delete all electronic copies on your system or 
other copies known to you. Trainline Investments Holdings Limited (Registered 
No.5776685), Trainline.com Limited (Registered No. 3846791) and Trainline 
Scotland Limited (Registered No. 6881309) are all registered in England and 
Wales with registered office at The Matrix, 9 Aldgate High Street, London, EC3N 
1AH.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to