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

Reply via email to