You don't tell the fragment, you tell Light using the "-b"
command-line argument. If you have multiple folders you can specify
multiple -b arguments to include all of the folders you need.

So if you are running light from same directory as your heat source,
you would add "-b ..\_Release\Application" to your light command-line.

--Nathan Stohlmann

On Wed, Mar 2, 2011 at 4:13 AM, Matthew Slane
<matthew.sl...@thetrainline.com> wrote:
> 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
>



-- 
--Nathan Stohlmann
St Paul, MN USA
nathan.stohlm...@gmail.com

------------------------------------------------------------------------------
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