Re: [WiX-users] heat.exe: Harvest contents of directory and NOT the directory name
Thanks for the reply, However, I do not see suppress root directory flag viewing the following heat.exe documentation link: http://wix.sourceforge.net/manual-wix3/heat.htm http://wix.sourceforge.net/manual-wix3/heat.htm - Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-exe-Harvest-contents-of-directory-and-NOT-the-directory-name-tp4977248p4978558.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] heat.exe: Harvest contents of directory and NOT the directory name
I took some hunting but I found the flag (have not tried it yet) http://www.tramontana.co.hu/wix/lesson6.php http://www.tramontana.co.hu/wix/lesson6.php Yet another switch, -srd will suppress the identifier generation for the root folder specified. File components in the root folder will refer to their Directory as either TARGETDIR or the name specified in the -dr switch and there will be no separate DirectoryRef fragment for the root folder: heat dir path -srd -dr MyDirName -cg SampleGroup -out SampleGroup.wxs - Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-exe-Harvest-contents-of-directory-and-NOT-the-directory-name-tp4977248p4978597.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] heat.exe: Harvest contents of directory and NOT the directory name
heat.exe /? goes a long way Palbinder Sandher Software Deployment IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the Virtual Environment** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: jeff00seattle [mailto:jeff_tan...@earthlink.net] Sent: 29 April 2010 07:33 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] heat.exe: Harvest contents of directory and NOT the directory name Thanks for the reply, However, I do not see suppress root directory flag viewing the following heat.exe documentation link: http://wix.sourceforge.net/manual-wix3/heat.htm http://wix.sourceforge.net/manual-wix3/heat.htm - Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-exe-H arvest-contents-of-directory-and-NOT-the-directory-name-tp4977248p497855 8.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] heat.exe: Harvest contents of directory and NOT the directory name
Hi I have a directory .\foo\ that has contents I want to harvest. However, in the end, my INSTALLDIR within Harvester.wxs contains directory foo and then its components, and I want only want is components. In other words, my current harvest is this... Fragment DirectoryRef Id=INSTALLDIR Directory Id=dir###... Name=foo Component Id=cmp###... Guid=GUID File Id=fil###... KeyPath=yes Source=$(var.SourceDir)\README.txt / /Component But I want my harvest instead to be without Directory Id=dir###... Name=foo: Fragment DirectoryRef Id=INSTALLDIR Component Id=cmp###... Guid=GUID File Id=fil###... KeyPath=yes Source=$(var.SourceDir)\README.txt / /Component This is my harvest setup: heat.exe dir foo -gg -g1 -cg $(var.ComponentGroupName) -dr INSTALLDIR -nologo -sfrag -ke -out Harvester.wxs -var var.SourceDir candle.exe -nologo Harvester.wxs -out Harvester.wixobj -dSourceDir=foo -dComponentGroupName=foo_group -arch x86 light.exe -nologo Harvester.wixobj -out foo.msi -pdbout foo.wixpdb - Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-exe-Harvest-contents-of-directory-and-NOT-the-directory-name-tp4977248p4977248.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] heat.exe: Harvest contents of directory and NOT the directory name
There's a suppress root directory flag on heat.exe that controls this for you. Thanks, Navid -Original Message- From: jeff00seattle [mailto:jeff_tan...@earthlink.net] Sent: Wednesday, April 28, 2010 3:14 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] heat.exe: Harvest contents of directory and NOT the directory name Hi I have a directory .\foo\ that has contents I want to harvest. However, in the end, my INSTALLDIR within Harvester.wxs contains directory foo and then its components, and I want only want is components. In other words, my current harvest is this... Fragment DirectoryRef Id=INSTALLDIR Directory Id=dir###... Name=foo Component Id=cmp###... Guid=GUID File Id=fil###... KeyPath=yes Source=$(var.SourceDir)\README.txt / /Component But I want my harvest instead to be without Directory Id=dir###... Name=foo: Fragment DirectoryRef Id=INSTALLDIR Component Id=cmp###... Guid=GUID File Id=fil###... KeyPath=yes Source=$(var.SourceDir)\README.txt / /Component This is my harvest setup: heat.exe dir foo -gg -g1 -cg $(var.ComponentGroupName) -dr INSTALLDIR -nologo -sfrag -ke -out Harvester.wxs -var var.SourceDir candle.exe -nologo Harvester.wxs -out Harvester.wixobj -dSourceDir=foo -dComponentGroupName=foo_group -arch x86 light.exe -nologo Harvester.wixobj -out foo.msi -pdbout foo.wixpdb - Thanks Jeff in Seattle -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-exe-Harvest-contents-of-directory-and-NOT-the-directory-name-tp4977248p4977248.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users