Unfortunately the documentation is a bit vague on this particular
subject. Basically you can use one or more "-b" parameter's with Light
(http://wix.sourceforge.net/manual-wix3/light.htm) to indicate what
directories should be searched when looking for files in 'SourceDir'


Sascha


On Mon, Dec 7, 2009 at 5:04 AM, Trevor <tre...@rottdog.com> wrote:
> I'm using a fragment outputted from heat as my project includes a few
> thousand files, so in VS I have a sourcefile.wxs:
>
>
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>
>    <Fragment>
>
>        <DirectoryRef Id="TARGETDIR">
>
>            <Component Id="cmp1CBCC87C844A9EF6FA24D408C709AE73"
> Guid="*">
>
>                <File Id="fil310E88E9B29A283EC44C6BB61C2F4128"
> KeyPath="yes" Source="SourceDir\Default.aspx" />
>
>            </Component>
>
>
>
> What determines what the folder "SourceDir" is?  Since this is an
> ASP.NET project, it either needs to capture the output of the build
> (how?) or capture the output of the Publish I've previously done to the
> local machine.
>
>
> Here is part of my Product.wxs:
>
>
>
>    <Directory Id="TARGETDIR" Name="SourceDir">
>
>        <Directory Id="INSTALLDIR" Name="Setup">
>
>          <Component Id="PrimaryComponent" Guid="">
>
>            <CreateFolder />
>
>
>
>          </Component>
>
>        </Directory>
>
>    </Directory>
>
>
>
>    <Feature Id="ProductFeature" Title="Setup"
> ConfigurableDirectory="INSTALLDIR" Level="1">
>
>      <ComponentRef Id="PrimaryComponent"/>
>
>    </Feature>
>
>  </Product>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to