Hey Nick,

Try this:

  <Target Name="BeforeBuild">
    <HeatDirectory
       Directory="..\..\HeatDir"
       OutputFile="heat.wxs"
       GenerateGuidsNow="true"
       SuppressFragments="true"
       Template="module"
       ToolPath="$(WixToolPath)" />


In order to include your own switch you should add a reference to
WixTasks.dll in your project. You could then inherit from HeatDirectory and
you just need to add your own value. Look here for an example (
http://wix.cvs.sourceforge.net/viewvc/wix/wix/src/WixTasks/heatdirectory.cs?revision=1.2&view=markup
).

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Thu, Mar 19, 2009 at 8:33 AM, Nick Ball <nick.b...@grantadesign.com>wrote:

> Hi All,
>
>
>
> I'm trying to find out how I can add a task to a wixproj file that will
> call heat, something like this:
>
>
>
> heat dir "Folder" -gg -sfrag -template:module -out "heat.wxs"
>
>
>
> And additionally, I've written a heat extension that writes the module
> name, which I've specified with a -m tag. How can I include that?
>
>
>
> Thanks for any info!
>
>
>
> -Nick
>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to