You want to change the component group id as well (-cg). I would use command lines like the following:
heat.exe dir manualEN -out manualEN.wxs -cg manualEN -dr manualEN -ag -srd -sfrag -var var.ProjectDir heat.exe dir manualFR -out manualFR.wxs -cg manualFR -dr manualFR -ag -srd -sfrag -var var.ProjectDir Notes: * Explicitly specify different component group id. * Explicitly specify different directory ref id. * Use -ag flag to have GUIDs created at compile time. (I prefer this to -gg -g1) Explicitly specifying different component group id will cause heat / candle to generate different guids. If you use the same component group id then how are you supposed to choose one component group from the other? Explicitly specifying the directory ref id will not root the harvested directory under TARGETDIR. You can specify where the directories exist explicitly using <Directory/> elements: <Directory Id="TARGETDIR"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLDIR" Name="MyProduct"> <Directory Id="DocFolder" Name="doc"> <Directory Id="manualEN" Name="en"/> <Directory Id="manualFR" Name="fr"/> </Directory> </Directory> </Directory> </Directory> I try to let the compiler (candle) generate GUIDs wherever possible. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: Caio Monteiro [mailto:cmonte...@modulo.com.br] > Sent: Monday, September 26, 2011 7:35 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Heat duplicating components > > This is the command line: > > heat.exe dir manualEN -cg manualEN -gg -g1 -sfrag -srd -var "var.ProjectDir" - > out manualEN.wxs > > I change the dir and the output for the other folder. > > -----Original Message----- > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > Sent: Monday, September 26, 2011 10:06 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Heat duplicating components > > What are your heat command lines? > > Edwin G. Castro > Software Developer - Staff > Digital Channels > Fiserv > Office: 503-746-0643 > Fax: 503-617-0291 > www.fiserv.com > P Please consider the environment before printing this e-mail > > > -----Original Message----- > > From: Caio Monteiro [mailto:cmonte...@modulo.com.br] > > Sent: Monday, September 26, 2011 7:01 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Heat duplicating components > > > > Ok, I figured it out, but still need help. :( What is happening is > > that although the files are different, the names are the same. > > So now I only need to discover any way to mass change the xml nodes. > > Does anyone have a good solution for that? > > > > Thanks in advance. > > > > -----Original Message----- > > From: Caio Monteiro [mailto:cmonte...@modulo.com.br] > > Sent: Monday, September 26, 2011 6:36 PM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Heat duplicating components > > > > Hi all, > > > > I´m struggling with Heat once more. > > I´m harvesting two different folders with a lot of files in it. > > I´ve ran heat twice, but it keeps generating me the same component > > ids. So I can´t really compile anything. > > > > Do you know how I can force it to generate new ids? > > > > Regards, > > Caio > > ---------------------------------------------------------------------- > > -------- All the data continuously generated in your IT infrastructure > > contains a definitive record of customers, application performance, > > security threats, fraudulent activity and more. Splunk takes this data > > and makes sense of it. > > Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2dcopy1 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > > -------- All the data continuously generated in your IT infrastructure > > contains a definitive record of customers, application performance, > > security threats, fraudulent activity and more. Splunk takes this data > > and makes sense of it. > > Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2dcopy1 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security threats, > fraudulent activity and more. Splunk takes this data and makes sense of it. > Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security threats, > fraudulent activity and more. Splunk takes this data and makes sense of it. > Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users