I'm also a newbie, so my solution below could be "wrong". However, it works:

 

<Directory Id="SourceDirectoryDir" Name="Source">

  <Component Id="BunchOfFiles" Guid="YOURGUID">

    <File Id="FileX" Source="1.htm">

    <File Id="FileY" Source="2.htm">

    <File Id="FileZ" Source="3.htm">

  </Component>

</Directory>


Something like that. However, I do remember that this technique is not 
recommended - for some reason I don't know...

 
> From: cameron.ker...@philips.com
> To: WiX-users@lists.sourceforge.net
> Date: Tue, 16 Mar 2010 16:27:31 +0100
> Subject: [WiX-users] Adding multiple files to component
> 
> I'm sure this question has been asked before in some variety but searching 
> the mail archives on SourceForge is awful. I am also new to WIX
> 
> Anyways, in my build process I am outputting a bunch of files to a directory. 
> I want all those files added to a component in my WIX project. To build my 
> WIX project, during my build process I just build my WIX installer solution 
> and it creates the setup package. So besides manually adding all these files 
> (~50) to my component by hand, I don't understand how to accomplish this. All 
> the tutorials just use one file in there examples. No one uses adding files 
> from a source directory.
> 
> Thanks!
> 
> ________________________________
> The information contained in this message may be confidential and legally 
> protected under applicable law. The message is intended solely for the 
> addressee(s). If you are not the intended recipient, you are hereby notified 
> that any use, forwarding, dissemination, or reproduction of this message is 
> strictly prohibited and may be unlawful. If you are not the intended 
> recipient, please contact the sender by return e-mail and destroy all copies 
> of the original message.
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
_________________________________________________________________
Mejla i busskön! Hotmail i mobilen
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to