Thanks for the mail. The file (help.wxs) that Heat generated, I see only one Fragment and one DirectoryRef Id, and then bunch of directory id and component id's.
Sample of help.wxs: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <DirectoryRef Id="TARGETDIR"> <Directory Id="" Name="MyHelp"> <Component Id="cmp767E96E22EC92EC4D283A3E7D8BDDCC0" Guid="*"> <File Id="fil3FB5407F971D744B6A38B969D72EA208" KeyPath="yes" Source="$(help.src.dir)\foo.mchelp" /> </Component> <Directory Id="dirA2A90306A468823C88086E65559FC939" Name="Content"> <Component Id="cmpA7B13651CB4CA07977F525C8432F0027" Guid="*"> <File Id="filD52FD552ED64CF21F41B889912160BE6" KeyPath="yes" Source="$(help.src.dir)\Content\foo2.htm" /> And so on.......... So, I dont see any Component Group that can be referenced in main.wxs. Can you please let me know, if there is special command I need to use to generate this help from Heat. I used -sfrag....Do I need to use -cg also? Thanks, Yan Sklyarenko wrote: > > If you used heat.exe to generate your help.wxs, then it most likely > contains a ComponentGroup, which includes all the generated components. > The components should be included into a feature. The easiest way to do > this is to reference this ComponentGroup from your main.wxs. > I would do this: > <!-- main.wxs: --> > ... > <Feature Id="ProductFeature"> > <ComponentGroupRef Id="HelpCompGroup" /> > </Feature> > ... > > Actually, to include the contents of a fragment into the project, you > should reference any element of that fragment in that project. If at least > 1 entity (component, component group, etc.) was referenced, all the > fragment is included into the project. > > Hope this makes things clearer for you. > > -- Yan > > ________________________________ > > From: akapoor [mailto:anupama_kap...@yahoo.com] > Sent: Sun 7/19/2009 6:45 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] How to handle installing a large number of files > > > > > Thanks John. > I used Heat (Wix 3.0) to generate a file (help.wxs) - this basically > contains lots of help files (html and also some images). > How to do I used this file (help.wxs) inside another wix file > (product.wxs) - this is main wix file. > Please let me know. > Thanks again,Anu > > --- On Fri, 7/17/09, John Robbins (via Nabble) > <ml-user+58268-1057559...@n2..nabble.com> wrote: > > From: John Robbins (via Nabble) <ml-user+58268-1057559...@n2.nabble.com> > Subject: Re: [WiX-users] How to handle installing a large number of files > To: "akapoor" <anupama_kap...@yahoo.com> > Date: Friday, July 17, 2009, 2:00 AM > > > > Heat with WiX 3.0 does a pretty good job of coordinating and building WiX > fragments. > > > Long before the updated WiX 3.0 Heat, I wrote a tool for my use, Paraffin > that takes care of generating WiX fragments. > (http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/06/28/paraffin3-1-new-and-improved.aspx). > > > As with any tools that generate components, be extra careful and obey the > component rules. :) > > > > John > > Wintellect > > http://www.wintellect.com <http://www.wintellect.com/> > 877-968-5528 > > >>-----Original Message----- > >>From: akapoor [mailto:anupama_kap...@...] > >>Sent: Thursday, July 16, 2009 12:04 PM > >>To: wix-us...@... > >>Subject: Re: [WiX-users] How to handle installing a large number of > >>files > >> > >> > >>Can you please share your experience? > >> > >>I also want to do exact same thing that you are talking about. I am not > >>sure, which way to go about. > >> > >> > >>Tom Crozier wrote: > >>> > >>> All - I need to know the best way to handle installing a large number > >>of > >>> files. As part of the project I have 2 different directories with > >>> approximately 24,000 files (including subfolders) in each. I could use > >>> heat to generate the initial list but then I am assuming I have to > >>> maintain the list from then on since I would not want the file id's > >>> changing from release to release. The other method would be to zip up > >>each > >>> directory and install the zip file. In this case I would need to write > >>a > >>> custom action to unzip the files (unless there is already something > >>> available). Ideas? Suggestions? > >>> > >>> Thanks - TopCat > >>> ---------------------------------------------------------------------- > >>-------- > >>> _______________________________________________ > >>> WiX-users mailing list > >>> wix-us...@... > >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> > >>> > >> > >>-- > >>View this message in context: http://n2.nabble.com/How-to-handle- >>installing-a-large-number-of-files-tp3148741p3269023.html > >>Sent from the wix-users mailing list archive at Nabble.com. > >> > >>------------------------------------------------------------------------ > >>------ > >>Enter the BlackBerry Developer Challenge > >>This is your chance to win up to $100,000 in prizes! For a limited time, > >>vendors submitting new applications to BlackBerry App World(TM) will > >>have > >>the opportunity to enter the BlackBerry Developer Challenge. See full > >>prize > >>details at: http://p.sf.net/sfu/Challenge >>_______________________________________________ > >>WiX-users mailing list > >>wix-us...@... > >>https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > > Enter the BlackBerry Developer Challenge > > This is your chance to win up to $100,000 in prizes! For a limited time, > > vendors submitting new applications to BlackBerry App World(TM) will have > > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > > WiX-users mailing list > > wix-us...@... > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > View message @ > http://n2.nabble.com/How-to-handle-installing-a-large-number-of-files-tp3148741p3272801.html > > > To unsubscribe from Re: How to handle installing a large number of files, > click here. > > > > > > > > -- > View this message in context: > http://n2.nabble.com/How-to-handle-installing-a-large-number-of-files-tp3148741p3283167.html > Sent from the wix-users mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/How-to-handle-installing-a-large-number-of-files-tp3148741p3290230.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users