Rob, There is actually a very good reason for Heat to do what it does. If you look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/set up/defining_installer_components.asp, you will see that Microsoft makes the following statements:
Define a new component for every .exe, .dll, and .ocx file. Define a new component for every .hlp or .chm help file. Define a new component for every file that serves as a target of a shortcut. While it is likely that none of these apply with the image files that you are using, adding a wildcard option would (IMHO) make it far too easy for someone who is not aware of the component rules to get themselves in trouble. You should also be aware that with a multiple-file component, the GUID should be modified every time a file is added or removed, and without knowledge of the files that matched the wildcard previously, there would be no way to guarantee that happening. Hope this clarifies things somewhat. Regards, Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob MacFadyen Sent: Wednesday, August 30, 2006 01:39 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Heat? Hey all, Is there anyway to make heat stop producing a 1 to 1 correspondence between files and components? For example: <Directory Id="Images" Name="Images"> <Component Id="blip_four_squares.gif" Guid="{BB93CAA0-A4AD-4EA1-99C8-C20E0F8F34C8}"> <File Id="blip_four_squares.gif" Name="blip_four_squares.gif" KeyPath="yes" Source="...website\Images\blip_four_squares.gif" /> </Component> <Component Id="bottom.png" Guid="{E09F0D29-E235-4127-B6B4-95A8D2E095C4}"> <File Id="bottom.png" Name="bottom.png" KeyPath="yes" Source="...website\Images\bottom.png" /> </Component> .. more and more ... Seems like overkill. Why can't we just have a <Files...> element: <Directory Id="Images" Name="Images> <Component Id="Images" Guid="{BB93CAA0-A4AD-4EA1-99C8-C20E0F8F34C8}"> <Files Source="C:\mylocation\myfiles\*.jpg"></Files> <Files Source="C:\mylocation\myfiles\*.gif"></Files> <Files Source="C:\mylocation\myfiles\*.png"></Files> </Component> </Directory> Sure... a <Files...> element will not be appropriate for all installations... but it sure would make website installs much easier to manage. Regards, Rob ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users * C O N F I D E N T I A L I T Y N O T I C E * ----------------------------------------------------------- The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users