No, there isn't a way to do that. Gather all files at the folder level and putting them into a component can lead to many problems.
What scenario do you have which requires this? Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove On Wed, Mar 31, 2010 at 4:33 AM, Richard Horsley <richard.hors...@eicltd.com > wrote: > This removes the fragments (I had tried suppressing the fragments already) > but still generates one component per file. Is there any way to set > component generation at folder level rather than at file level? > > -----Original Message----- > From: Tency Kuruvilla [mailto:tency.kuruvi...@kcs.com.kw] > Sent: 31 March 2010 12:04 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Heat harvesting and fragment/component generation. > > try > > heat.exe <harvestType> <harvester arguments> -out sourceFile.wxs Supported > harvesting types: > dir harvest a directory > file harvest a file > project harvest outputs of a VS project > website harvest an IIS web site > Options: > -ag autogenerate component guids at compile time > -gg generate guids now > -ke keep empty directories > -nologo skip printing heat logo information > -out specify output file (default: write to current directory) > -pog:<group> > specify output group of VS project, one of: > Binaries,Symbols,Documents,Satellites,Sources,Content > This option may be repeated for multiple output groups. > -scom suppress COM elements > -sfrag suppress fragments > -sreg suppress registry harvesting > -suid suppress unique identifiers for files, components, & directories > -sw<N> suppress all warnings or a specific message ID > (example: -sw1011 -sw1012) > -swall suppress all warnings (deprecated) > -t:<xsl> transform harvested output with XSL file > -template: use template, one of: fragment,module,product > -v verbose output > -wx[N] treat all warnings or a specific message ID as an error > (example: -wx1011 -wx1012) > -wxall treat all warnings as errors (deprecated) > -? | -help this help information > heat dir <directory path> -out imp.wxs -template:product -scom -sreg > -sfrag -gg -suid > > > > ________________________________ > > From: Richard Horsley [mailto:richard.hors...@eicltd.com] > Sent: Wed 3/31/2010 1:46 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Heat harvesting and fragment/component generation. > > > > Previously, I have created installers in WiX by hand-writing the .wxs > files myself, but I now have a fairly large folder structure (with lots of > subfolders) to put into an installer, and I am trying to use heat.exe to > harvest this for me. However the harvested file seems unnecessarily messy. > Is there any way to get heat to place all files from the same subfolder > within the same fragment/component, or is this not considered best practice? > > Richard Horsley > > ________________________________ > ######################## DISCLAIMER #################### > > Please consider the environment before printing this e-mail. > > This e-mail has been scanned for all known virus's but this is not a > confirmation it is virus free. > > This is an e-mail from EIC Limited (Company Reg: 1086295). The contents of > this e-mail are confidential. EIC Limited do not accept responsibility for > the accuracy or completeness of the contents of this e-mail as it has been > transmitted over a public network. If you receive this e-mail in error > please accept our apology. If this is the case we would be obliged if you > would contact the sender and then delete this e-mail. > > THIS E-MAIL AND / OR ANY REPLIES TO IT, AND ANY ATTACHMENTS MAY BE > INTERCEPTED, COPIED OR MONITORED BY EIC LIMITED FOR THE PURPOSE OF > MONITORING OR KEEPING RECORD OF ITS BUSINESS AND FOR THE PURPOSES SET OUT IN > THE TELECOMMUNICATIONS (LAWFUL BUSINESS PRACTICES) (INTERCEPTION OF > COMMUNICATIONS) REGULATIONS 2000. > > All statements made in this e-mail are subject to contract. The contents > are not to be regarded as a contractual offer or acceptance. The sender is > not authorised to bind EIC Limited. > > The views expressed in this e-mail are those of the sender and not > necessarily those of EIC Limited. > > ######################## DISCLAIMER #################### > > > ------------------------------------------------------------------------------ > 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 > > > > ######################## DISCLAIMER #################### > > Please consider the environment before printing this e-mail. > > This e-mail has been scanned for all known virus's but this is not a > confirmation it is virus free. > > This is an e-mail from EIC Limited (Company Reg: 1086295). The contents of > this e-mail are confidential. EIC Limited do not accept responsibility for > the accuracy or completeness of the contents of this e-mail as it has been > transmitted over a public network. If you receive this e-mail in error > please accept our apology. If this is the case we would be obliged if you > would contact the sender and then delete this e-mail. > > THIS E-MAIL AND / OR ANY REPLIES TO IT, AND ANY ATTACHMENTS MAY BE > INTERCEPTED, COPIED OR MONITORED BY EIC LIMITED FOR THE PURPOSE OF > MONITORING OR KEEPING RECORD OF ITS BUSINESS AND FOR THE PURPOSES SET OUT IN > THE TELECOMMUNICATIONS (LAWFUL BUSINESS PRACTICES) (INTERCEPTION OF > COMMUNICATIONS) REGULATIONS 2000. > > All statements made in this e-mail are subject to contract. The contents > are not to be regarded as a contractual offer or acceptance. The sender is > not authorised to bind EIC Limited. > > The views expressed in this e-mail are those of the sender and not > necessarily those of EIC Limited. > > ######################## DISCLAIMER #################### > > > > ------------------------------------------------------------------------------ > 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