Since heat allows for a XSLT to be applied to the output "anything" is possible but I would highly advise against it. A component is the most granular part of an installation, so if the first file in a component exists and is of the correct version (assuming no other file is marked as the keypath) then Windows Installer would consider the component state to be present. Is there a reason you don't want to utilize a component per file?
-----Original Message----- From: Alexey Ivanov [mailto:alexey.iva...@gmail.com] Sent: Thursday, June 21, 2012 12:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] heat.exe generate component for files in each folder, not to generate component for each file. like this https://github.com/krab/vacuum-im-wix-installer/blob/master/Files.wxs is possible with wix? if i run: >heat dir install_files -gg -suid -sfrag -srd -out 1.wxs <DirectoryRef Id="TARGETDIR"> <Component Id="libeay32.dll" Guid="{846E7E4B-51A3-4023-AF17-EBC5E0E4AEB6}"> <File Id="libeay32.dll" KeyPath="yes" Source="install_files\libeay32.dll" /> </Component> <Component Id="libpng15.dll" Guid="{3EF0105F-BBA8-4E11-BF71-956403110505}"> <File Id="libpng15.dll" KeyPath="yes" Source="install_files\libpng15.dll" /> </Component> <Component Id="license.txt" Guid="{ADCF4296-AEAE-4451-B55D-5EDA4ADB4CD6}"> <File Id="license.txt" KeyPath="yes" Source="install_files\license.txt" /> </Component> <Component Id="msvcp100.dll" Guid="{64035C09-D6F5-40C3-A008-AF9C73014AA7}"> <File Id="msvcp100.dll" KeyPath="yes" Source="install_files\msvcp100.dll" /> </Component> <Component Id="msvcr100.dll" Guid="{0960591D-EA25-4BB6-B9C8-D622C7A7C5C3}"> <File Id="msvcr100.dll" KeyPath="yes" Source="install_files\msvcr100.dll" /> Components for earch file its feature or its msi requirements? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users