Neil. Thanks so much for the reply. I was beginning to think that maybe I need to change body soap 'cause no one wanted to talk to me :'(
Will heat do the right thing if I just use the dir switch on a directory that contains all the files that I want to install? Some may be COM (DLL or OCX). Thanks, Bill On 3/29/2010 2:56 PM, Neil Sleightholm wrote: > I am afraid that is how heat works, it only finds the primary output and > no referenced assemblies. If you want the referenced assemblies then you > have to heat those projects or files independently. > > Personally I think this is major limitation of heat and makes the new > Harvest feature in WiX v3.5's Votive > (http://robmensching.com/blog/posts/2010/2/19/WiX-v3.5-now-supports-Visu > al-Studio-2010-RC) very limiting. Hopefully this can be resolved at some > point (I have taken a look at the code and can't see a solution to it > myself). > > Neil > > -----Original Message----- > From: Bill McCormick (LIST) [mailto:wpmccorm...@ace-co.com] > Sent: 29 March 2010 17:21 > To: WiX > Subject: [WiX-users] how to use heat to harvest VS projects > > I'm trying to understand how to use the project switch with heat. I made > > a test project whose binary output includes a Windows form application > and a DLL class library. When I build the Test project I have a Test.exe > > and a ClassLibrary1.dll in the bin directory. I then run heat like this: > > $ heat project Test.csproj -pog:Binaries -ag -template:fragment -out > Test.wxs > > In the Test.wxs file: > <?xml version="1.0" encoding="utf-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <Fragment> > <DirectoryRef Id="Test.Binaries"> > <Component Id="cmp2F99CCE204223917D7EF255085458FB9" > Guid="*"> > <File Id="fil3480738170913E4A272FDF51D7CD77AE" > Source="$(var.Test.TargetDir)\Test.exe" /> > </Component> > </DirectoryRef> > </Fragment> > <Fragment> > <ComponentGroup Id="Test.Binaries"> > <ComponentRef Id="cmp2F99CCE204223917D7EF255085458FB9" /> > </ComponentGroup> > </Fragment> > </Wix> > > there is no reference to the ClassLibrary1.dll. Is this correct? > > I posted a similar question last week but didn't get much feedback, > except for one user saying they only use the dir switch. So I'm trying > the question again in a more direct way: > > How can heat be used to harvest VS projects? > > > Thanks, > > Bill > > ------------------------------------------------------------------------ > ------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > Bill McCormick -- ACE-CO 5355 Dietrich Rd. San Antonio, TX 78219 (210) 661-4111 x512 (800) 676-4111 Toll Free (210) 662-6177 Fax (210) 216-6641 Cell mailto:wpmccorm...@ace-co.com http://www.ace-co.com ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users