OK, Brian I am back again with a new question.  Been Digging around the wix
code. :)
Now I have tried out Project harvester and the problem is I cannot get in
all the dll's included with the project.  Basically we have multiple
projects in the solution.  So I tried to use the
"Satellites" ProjectOutputGroup which I think would do the trick, but it is
not working for me(I probably am doing it wrong, but tried command line also
and no output).  So basically all I get out is the projects .exe file
outputed.  Really what I need is all the output from the solution file.   So
I was thinking that I probably have to use heatdirectory again.

Here is the wix.proj file and the output so you can better see:
Thanks for your help.

<Project DefaultTargets="Build" xmlns="
http://schemas.microsoft.com/developer/msbuild/2003";>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == ''
">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>1.0</ProductVersion>
    <ProjectGuid>{1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}</ProjectGuid>
    <SchemaVersion>2.0</SchemaVersion>
    <OutputName>Wix_TagImport</OutputName>
    <OutputType>Package</OutputType>
    <WixToolPath>..\..\DLL\Wix\</WixToolPath>
    <WixTasksPath>$(WixToolPath)\wixtasks.dll</WixTasksPath>
    <WixTargetsPath>$(WixToolPath)\Wix.targets</WixTargetsPath>
  </PropertyGroup>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' ==
''">Debug</Configuration>
    <OutputName>msbuild.heatfile</OutputName>
    <OutputType>Package</OutputType>
    <WixToolPath>..\..\DLL\Wix\</WixToolPath>
    <Cultures>en-us</Cultures>
    <LinkerBaseInputPaths>..\..\DLL\Wix\</LinkerBaseInputPaths>
  </PropertyGroup>
   <ItemGroup>
   <Compile Include="Components.wxs" />
 </ItemGroup>
  <Import Project="$(WixToolPath)\Wix.targets" />
  <UsingTask TaskName="HeatProject"
AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
  <Target Name="BeforeBuild">
    <HeatProject

Project="..\PrestigeTagImportStandaloneHost\PrestigeTagImportStandaloneHost.csproj"
   ProjectOutputGroups="Binaries"
       OutputFile="Components.wxs"
       AutogenerateGuids="true"
       ToolPath="$(WixToolPath)"/>
  </Target>
    <UsingTask TaskName="HeatProject"
AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
  <Target Name="BeforeBuild">
    <HeatProject

Project="..\PrestigeTagImportStandaloneHost\PrestigeTagImportStandaloneHost.csproj"
   ProjectOutputGroups="Satellites"
       OutputFile="Components2.wxs"
       AutogenerateGuids="true"
       ToolPath="$(WixToolPath)"/>
  </Target>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86'
">
    <OutputPath>bin\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
    <DefineConstants>Debug</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86'
">
    <OutputPath>bin\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
  </PropertyGroup>
  <ItemGroup>
    <WixExtension Include="WixUtilExtension">
      <HintPath>$(WixToolPath)\WixUtilExtension.dll</HintPath>
    </WixExtension>
    <WixExtension Include="WixUIExtension">
      <HintPath>$(WixToolPath)\WixUIExtension.dll</HintPath>
    </WixExtension>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="WixUI_Minimal_NoLicense.wxs" />
    <Compile Include="Wix_TagImport.wxs" />
  </ItemGroup>
  <Import Project="$(WixTargetsPath)" />
  <!--
To modify your build process, add your task inside one of the targets below
and uncomment it.
Other similar extension points exist, see Wix.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Fragment>
        <DirectoryRef Id="PrestigeTagImportStandaloneHost.Binaries">
            <Component Id="cmp8F5D22A8483B0DE94482B3AD5BDB74BF" Guid="*">
                <File Id="filDDCC5FCC7A0DD48047950A8F4CBA3DA5"
Source="$(var.PrestigeTagImportStandaloneHost.TargetDir)\PrestigeTagImportStandaloneHost.exe"
/>
            </Component>
        </DirectoryRef>
    </Fragment>
    <Fragment>
        <ComponentGroup Id="PrestigeTagImportStandaloneHost.Binaries">
            <ComponentRef Id="cmp8F5D22A8483B0DE94482B3AD5BDB74BF" />
        </ComponentGroup>
    </Fragment>
</Wix>


2009/4/20 Brian Bakkebo <bbakk...@gmail.com>

> Thanks Brian I am using the latest drop of wix.
>
> Brian, no I didn't know about the project harvester. That is basically what
> I am trying to do.  Is there any info on how to use it anywhere?
>
> On Apr 20, 2009 5:38 PM, "Brian Rogers" <rogers.br...@gmail.com> wrote:
>
> Hey Brian,
>
> Which version of heat.exe are you using? Is it this weeks drop? Second, if
> you could show more or your source wixproj that would be great. Also, the
> PreprocessorVariable takes only "var.MyVar" not "$(var.MyVar).
>
> Do you know about the VSProject harvestor extension? This might work for
> what you are doing. Check it out "heat.exe -?" and look for "project".
>
> Thanks, Brian Rogers "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
> On Mon, Apr 20, 2009 at 7:51 AM, Brian Bakkebo <bbakk...@gmail.com> wrote:
> > Hello Brian, thanks fo...
> > http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry<
> http://icumove.spaces.live.com/blog/cns%21FB93073C6534B681%21461.entry>
>
> > > But I am not quite sure how to define this variable in the wix project
> file > or if I can? > Wha...
>
>
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to