That's exactly how you solve it, according to the docs! :)

 
> From: alb...@de-notenbalk.nl
> To: wix-users@lists.sourceforge.net
> Date: Wed, 17 Mar 2010 14:34:45 +0100
> Subject: Re: [WiX-users] Adding multiple files to component
> 
> I've been following this discussion and still I haven't seen the solution
> we've build;
> 
> When we create an installer set we harvest the files into the appropriate
> folders, then we have create a tool which scans which files are there.
> The files are stored into a database where they are assigned a GUID for the
> current release version (version 1.0, 1.2, 2.0 etc..)
> When the file is already in the database only a datetimestamp is modified
> and the GUID (for that specific version) stays the same. These files are
> also marked as active.
> At the end all files for the current release version where the datetimestamp
> is not altered are marked as inactive.
> >From this database we have a tool which can generate the WiX (component)
> files for Minor updates, Major Updates and even patches between versions.
> In this system there are more features like language independency,
> x86/x64/IA64 handling etc.
> I cannot donate this system to the community since it is a business thing :)
> But I could describe parts of it so someone can build this for the WiX
> community :)
> We use it in our nightly builds to generate test-branche sets and
> development-brance sets. For a definitive release we manyaly generate a
> clean set and a set of patches.
> The system is also WiX version independent; It can generate for WiX 2.0, 3.0
> (current active release version) and 3.5.
> 
> Maybe this can help somebody started?
> 
> Regards,
> 
> Albert van Peppen
> 
> -----Oorspronkelijk bericht-----
> Van: Kerber, Cameron [mailto:cameron.ker...@philips.com] 
> Verzonden: woensdag 17 maart 2010 14:17
> Aan: General discussion for Windows Installer XML toolset.
> Onderwerp: Re: [WiX-users] Adding multiple files to component
> 
> Maybe, but it seems kind of silly. So if have a directory fill with a
> thousand help files, I need to manually maintain this. Even if the tool
> that generates the help files have a different name each time. This seems
> completely ridiculous that WiX doesn't have a way to handle this!
> 
> -----Original Message-----
> From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] 
> Sent: Wednesday, March 17, 2010 8:57 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Adding multiple files to component
> 
> 
> 1) I believe I posted a detailed explanation on this. You should only use
> heat manually!
> 
> > From: cameron.ker...@philips.com
> > To: wix-users@lists.sourceforge.net
> > Date: Wed, 17 Mar 2010 13:19:54 +0100
> > Subject: Re: [WiX-users] Adding multiple files to component
> > 
> > Thanks. I guess people have been giving me two different responses here
> and I'm trying to figure out the right way to do this. 
> > 
> > 1) Should I use heat each time during a build, to harvest all the files in
> a directory (directory contains a executable and all of its associated dlls
> and dependencies). Then include that fragment with my main wix project.
> > 
> > 2) Or do I either use this WixFileTool or Heat to just generate this for
> me once, add it to my Wix Project, and forever maintain that list of files.
> Since we are still in the beginning of the development for this project, it
> is likely files will be renamed/files will be added/files will be deleted.
> > 
> > What is the proper way / benefits of each?
> > 
> > Thanks,
> > 
> > 
> > -----Original Message-----
> > From: Ivo Stoyanov [mailto:ivos...@yahoo.com] 
> > Sent: Wednesday, March 17, 2010 8:10 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Adding multiple files to component
> > 
> > You can try this - simple GUI
> > http://flexsetup.codeplex.com/
> > WiXFileTool: generates WiX file definitions and component definitions for
> a collection of files
> > 
> > 
> > 
> > 
> > ________________________________
> > From: "Kerber, Cameron" <cameron.ker...@philips.com>
> > To: General discussion for Windows Installer XML toolset.
> <wix-users@lists.sourceforge.net>
> > Sent: Tue, March 16, 2010 8:43:52 AM
> > Subject: Re: [WiX-users] Adding multiple files to component
> > 
> > Yes, I understand that you can put multiple files in a component, but that
> means I have to write the Source for each of the files, and spell out each
> file xml element. I basically just want to set the Source to a directory and
> include all files under that directory. Or some process that converts a
> directory to <File Id="A" Source="A.txt"> <File Id="B" Source="B.txt"> 
> > 
> > I can't be typing this each and everytime.
> > 
> > Heat tool. I'll look into it. 
> > 
> > Do you know of any websites with tutorial on it? Any way to integrate into
> MSBuild?
> > 
> > -----Original Message-----
> > From: Kristoffer Danielsson [mailto:kristoffer.daniels...@live.se] 
> > Sent: Tuesday, March 16, 2010 11:36 AM
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] Adding multiple files to component
> > 
> > 
> > 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® 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® 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
> > 
> >
> ----------------------------------------------------------------------------
> --
> > Download Intel® 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
> >
> ----------------------------------------------------------------------------
> --
> > 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
> > 
> >
> ----------------------------------------------------------------------------
> --
> > 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
> 
> ----------------------------------------------------------------------------
> --
> 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
> 
> 
> ------------------------------------------------------------------------------
> 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 på krogen! 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