HeatProject

5 messages Options
Embed this post
Permalink
steve baker-7

HeatProject

Reply Threaded More More options
Print post
Permalink
I have setup the following ItemGroup in a wixproj and found that the
HarvestProjects target does indeed call heat and the output that is
generated is great. Except...

It doesn't seem to include any of the dependent assemblies the main dll
needs?

Am I doing something wrong? I have had a hard time even finding a mention
of the HarvestProjects target. If the project harvester just needs to be
updated I'd be willing to take a look and submit a patch.

<ItemGroup>
    <HeatProject Include="..\webui\webui.vbproj">
      <ProjectOutputGroups>Binaries;Content</ProjectOutputGroups>
    </HeatProject>
</ItemGroup>

TIA,

steve


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Brian Rogers

Re: HeatProject

Reply Threaded More More options
Print post
Permalink
Hey Steve,

When you say dependent, do you mean references to your the project you are
harvesting? If so, heat does not walk the dependency tree to find other
files that are required for your project. I believe this is a feature
request.

If that isn't want you mean, let me know.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://blogs.msdn.com/icumove <-- NEW


On Wed, Oct 28, 2009 at 8:36 AM, Steve Baker <[hidden email]
> wrote:

> I have setup the following ItemGroup in a wixproj and found that the
> HarvestProjects target does indeed call heat and the output that is
> generated is great. Except...
>
> It doesn't seem to include any of the dependent assemblies the main dll
> needs?
>
> Am I doing something wrong? I have had a hard time even finding a mention
> of the HarvestProjects target. If the project harvester just needs to be
> updated I'd be willing to take a look and submit a patch.
>
> <ItemGroup>
>    <HeatProject Include="..\webui\webui.vbproj">
>      <ProjectOutputGroups>Binaries;Content</ProjectOutputGroups>
>    </HeatProject>
> </ItemGroup>
>
> TIA,
>
> steve
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
steve baker-7

Re: HeatProject

Reply Threaded More More options
Print post
Permalink
In reply to this post by steve baker-7
yes, i think...

what i am looking for, in the given sample, is not just the webui.dll to be
added but all dependent assemblies it requires, basically the contents of
the bin directory after compiling a web application project.

looking at the code in VSProjectHarvester that generates the wxs for a
project it looks like simply adding a new ProjectOutputGroup to grab
dependencies would be the starting point...

 private static readonly ProjectOutputGroup[] allOutputGroups = new
ProjectOutputGroup[]
 {
    new ProjectOutputGroup("BinaryDependencies",  
"BuiltProjectOutputGroupDependencies",         "TargetDir"),
    new ProjectOutputGroup("Binaries",   "BuiltProjectOutputGroup",        
"TargetDir"),

however in preliminary testing i noticed that
BuiltProjectOutputGroupDependencies seems to return every dll recursively
down the dependency stack, better than none, but there is probably a way to
filter the output or a better target to call that will ignore GAC'ed
assemblies and such. I'll have a look into
_DeploymentComputeClickOnceManifestInfo to see if i can figure something
out.

Steve
 
-------- Original Message --------
From: "Brian Rogers" <[hidden email]>
Sent: Wednesday, October 28, 2009 11:48 AM
To: [hidden email], "General discussion for Windows
Installer XML toolset." <[hidden email]>
Subject: Re: [WiX-users] HeatProject

Hey Steve,

When you say dependent, do you mean references to your the project you are
harvesting? If so, heat does not walk the dependency tree to find other
files that are required for your project. I believe this is a feature
request.

If that isn't want you mean, let me know.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://blogs.msdn.com/icumove <-- NEW

On Wed, Oct 28, 2009 at 8:36 AM, Steve Baker
<[hidden email]
> wrote:

> I have setup the following ItemGroup in a wixproj and found that the
> HarvestProjects target does indeed call heat and the output that is
> generated is great. Except...
>
> It doesn't seem to include any of the dependent assemblies the main dll
> needs?
>
> Am I doing something wrong? I have had a hard time even finding a
mention

> of the HarvestProjects target. If the project harvester just needs to be
> updated I'd be willing to take a look and submit a patch.
>
> <ItemGroup>
>    <HeatProject Include="..\webui\webui.vbproj">
>      <ProjectOutputGroups>Binaries;Content</ProjectOutputGroups>
>    </HeatProject>
> </ItemGroup>
>
> TIA,
>
> steve
>
>
>
>
----------------------------------------------------------------------------
--
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and
stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
steve baker-7

Re: HeatProject

Reply Threaded More More options
Print post
Permalink
In reply to this post by steve baker-7
I was able to figure this out and have a working version. The key was
simply to filter the BuiltProjectOutputGroupDependencies  ItemGroup based
on the CopyLocal metatdata. Can i just post some code or is it necessary to
go through the sign an agreement submit a patch to the dev list type
routine.

steve

-------- Original Message --------
From: "Steve Baker" <[hidden email]>
Sent: Wednesday, October 28, 2009 12:55 PM
To: "Brian Rogers" <[hidden email]>, "General discussion for
Windows Installer XML toolset." <[hidden email]>
Subject: Re: [WiX-users] HeatProject

yes, i think...

what i am looking for, in the given sample, is not just the webui.dll to be

added but all dependent assemblies it requires, basically the contents of
the bin directory after compiling a web application project.

looking at the code in VSProjectHarvester that generates the wxs for a
project it looks like simply adding a new ProjectOutputGroup to grab
dependencies would be the starting point...

private static readonly ProjectOutputGroup[] allOutputGroups = new
ProjectOutputGroup[]
{
   new ProjectOutputGroup("BinaryDependencies",  
"BuiltProjectOutputGroupDependencies",         "TargetDir"),
   new ProjectOutputGroup("Binaries",   "BuiltProjectOutputGroup",        

"TargetDir"),

however in preliminary testing i noticed that
BuiltProjectOutputGroupDependencies seems to return every dll recursively
down the dependency stack, better than none, but there is probably a way to

filter the output or a better target to call that will ignore GAC'ed
assemblies and such. I'll have a look into
_DeploymentComputeClickOnceManifestInfo to see if i can figure something
out.

Steve

-------- Original Message --------
From: "Brian Rogers" <[hidden email]>
Sent: Wednesday, October 28, 2009 11:48 AM
To: [hidden email], "General discussion for Windows
Installer XML toolset." <[hidden email]>
Subject: Re: [WiX-users] HeatProject

Hey Steve,

When you say dependent, do you mean references to your the project you are
harvesting? If so, heat does not walk the dependency tree to find other
files that are required for your project. I believe this is a feature
request.

If that isn't want you mean, let me know.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://blogs.msdn.com/icumove <-- NEW

On Wed, Oct 28, 2009 at 8:36 AM, Steve Baker
<[hidden email]
> wrote:

> I have setup the following ItemGroup in a wixproj and found that the
> HarvestProjects target does indeed call heat and the output that is
> generated is great. Except...
>
> It doesn't seem to include any of the dependent assemblies the main dll
> needs?
>
> Am I doing something wrong? I have had a hard time even finding a
mention

> of the HarvestProjects target. If the project harvester just needs to be
> updated I'd be willing to take a look and submit a patch.
>
> <ItemGroup>
>    <HeatProject Include="..\webui\webui.vbproj">
>      <ProjectOutputGroups>Binaries;Content</ProjectOutputGroups>
>    </HeatProject>
> </ItemGroup>
>
> TIA,
>
> steve
>
>
>
>
----------------------------------------------------------------------------

--
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and
stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users 



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Rob Mensching-7

Re: HeatProject

Reply Threaded More More options
Print post
Permalink
Unfortunately, it is necessary to go through the assignment agreement dance.
I know it is overhead but the legal guys tell me it is always necessary.

On Thu, Oct 29, 2009 at 12:31 PM, Steve Baker <
[hidden email]> wrote:

> I was able to figure this out and have a working version. The key was
> simply to filter the BuiltProjectOutputGroupDependencies  ItemGroup based
> on the CopyLocal metatdata. Can i just post some code or is it necessary to
> go through the sign an agreement submit a patch to the dev list type
> routine.
>
> steve
>
> -------- Original Message --------
> From: "Steve Baker" <[hidden email]>
> Sent: Wednesday, October 28, 2009 12:55 PM
> To: "Brian Rogers" <[hidden email]>, "General discussion for
> Windows Installer XML toolset." <[hidden email]>
> Subject: Re: [WiX-users] HeatProject
>
> yes, i think...
>
> what i am looking for, in the given sample, is not just the webui.dll to be
>
> added but all dependent assemblies it requires, basically the contents of
> the bin directory after compiling a web application project.
>
> looking at the code in VSProjectHarvester that generates the wxs for a
> project it looks like simply adding a new ProjectOutputGroup to grab
> dependencies would be the starting point...
>
> private static readonly ProjectOutputGroup[] allOutputGroups = new
> ProjectOutputGroup[]
> {
>   new ProjectOutputGroup("BinaryDependencies",
> "BuiltProjectOutputGroupDependencies",         "TargetDir"),
>   new ProjectOutputGroup("Binaries",   "BuiltProjectOutputGroup",
>
> "TargetDir"),
>
> however in preliminary testing i noticed that
> BuiltProjectOutputGroupDependencies seems to return every dll recursively
> down the dependency stack, better than none, but there is probably a way to
>
> filter the output or a better target to call that will ignore GAC'ed
> assemblies and such. I'll have a look into
> _DeploymentComputeClickOnceManifestInfo to see if i can figure something
> out.
>
> Steve
>
> -------- Original Message --------
> From: "Brian Rogers" <[hidden email]>
> Sent: Wednesday, October 28, 2009 11:48 AM
> To: [hidden email], "General discussion for Windows
> Installer XML toolset." <[hidden email]>
> Subject: Re: [WiX-users] HeatProject
>
> Hey Steve,
>
> When you say dependent, do you mean references to your the project you are
> harvesting? If so, heat does not walk the dependency tree to find other
> files that are required for your project. I believe this is a feature
> request.
>
> If that isn't want you mean, let me know.
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://blogs.msdn.com/icumove <-- NEW
>
> On Wed, Oct 28, 2009 at 8:36 AM, Steve Baker
> <[hidden email]
> > wrote:
>
> > I have setup the following ItemGroup in a wixproj and found that the
> > HarvestProjects target does indeed call heat and the output that is
> > generated is great. Except...
> >
> > It doesn't seem to include any of the dependent assemblies the main dll
> > needs?
> >
> > Am I doing something wrong? I have had a hard time even finding a
> mention
> > of the HarvestProjects target. If the project harvester just needs to be
> > updated I'd be willing to take a look and submit a patch.
> >
> > <ItemGroup>
> >    <HeatProject Include="..\webui\webui.vbproj">
> >      <ProjectOutputGroups>Binaries;Content</ProjectOutputGroups>
> >    </HeatProject>
> > </ItemGroup>
> >
> > TIA,
> >
> > steve
> >
> >
> >
> >
>
> ----------------------------------------------------------------------------
>
> --
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and
> stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
> ----------------------------------------------------------------------------
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users