First off, heat was recently enhanced to support automation better:
http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry

In terms of installation performance, the second option is better, IMHO.
For instance, if you have thousands of icons, which are not the subject
to upgrade regularly, then you can zip them and have a custom action to
maintain that ZIP. For instance, you can extract it in the background
during the installation, remove on uninstall, etc. If you need to
upgrade those files, you'll have to overwrite the entire set, which is
quite acceptable for icons. It means less control from Windows
Installer, more responsibility to developer, but reduces the time of
install/uninstall.

This is not the "MSI recommended" way, of course, but in some situations
it overweighs the potential problems of violating the rules :) Again,
this is my own opinion.

Hope this helps.

-- Yan

-----Original Message-----
From: Tom Crozier [mailto:tcroz...@rackwise.com] 
Sent: Wednesday, June 24, 2009 4:25 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to handle installing a large number of files

All - I need to know the best way to handle installing a large number of
files. As part of the project I have 2 different directories with
approximately 24,000 files (including subfolders) in each. I could use
heat to generate the initial list but then I am assuming I have to
maintain the list from then on since I would not want the file id's
changing from release to release. The other method would be to zip up
each directory and install the zip file. In this case I would need to
write a custom action to unzip the files (unless there is already
something available). Ideas? Suggestions?

Thanks - TopCat
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to