You can do it, but not in the way you describe.
<Component Id="MyComponent" Guid="12345678-0000-0000-0000-ABCDEF000000">
<File Id="FirstFile" Name="foo.bar" Keypath="yes"
Source="C:\sample\foo.bar" />
<File Id="SecondFile" Name="foo2.bar" Source="C:\sample\foo2.bar" />
<File Id="ThirdFile" Name="foo3.bar" Source="C:\sample\foo3.bar" />
<File Id="FourthFile" Name="foo4.bar" Source="C:\sample\foo4.bar" />
...
</Component>
This will group several files into one component, but you can not use a
wildcard reference on a directory. Heat works *okay*, but I don't like the
output so I usually end up changing it around a bit. The -gg option won't
show up in the command line help for heat, but you may want to use it on a
first-time basis to generate the GUIDs for you when creating the initial
references to your files.
Regards,
//aj
On 5/29/07, hariom <[EMAIL PROTECTED]> wrote:
Hi All,
I am a newbie to WIX, but I am using Installshield. Now I need to port my
installers to WIX. In Installshield while doing Dynamic File Linking
option
I will be getting a option like, I can select only required files from
that
directory. That means for example I can select only *.aspx files OR *.dll
from particular directory. Is that this feature is available in WIX also?
Let me put my question in this way also, can I connect multiple files to a
single compoent?
<File Id='web.config' Name='web.config' DiskId='1'
Source='C:\sample\*.aspx'
/> If I am trying to use this light.exe is throwing error.
Please help me and thanks in advance :)
--
View this message in context:
http://www.nabble.com/Connecting-many-files-to-a-single-component-tf3834116.html#a10854708
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users