You need a component to have an individually serviceable element because the decision MSI makes on whether or not to update/repair a file is based on a component's keypath. If you have more than one file in a component and you want to patch the file that is not the keypath you will be forced to include an update to the keypath file. If you have more than one file in a component and the file that is not the keypath needs repairing (user deleted, corrupted, etc) there is no way to do it. In addition, if you ever want to ship the file in a separate installer you must ship the component in its entirety; not doing so breaks component reference counting. If, for instance, you took a file out of a component that wasn't the keypath, shipped it in another product (using a different GUID since the keypath changed), uninstalling the new product would remove the file, leaving the original product broken. See Organizing Applications into Components:http://msdn.microsoft.com/en-us/library/aa370561(VS.85).aspxand Defining Installer Components: http://msdn.microsoft.com/en-us/library/aa368269(VS.85).aspx -Eric > From: ree...@duckcreektech.com > To: wix-users@lists.sourceforge.net > Date: Wed, 13 May 2009 08:06:22 -0500 > Subject: [WiX-users] Heat and Directory Harvesting - Design Rationale > > Hi everyone, > > I have noticed that heat will harvest a folder and all subfolders and put the > files in individual components. While following the tutorials, I had learned > that generally you put all files that reside in the same folder into a > component together, as long as they're your "atomic unit of setup". Is there > an advantage to having a 1-1 relationship between my .dll files and > components, as opposed to having several .dll files in the same folder be > represented as one component? > > The assumption here is that heat does it this way for a reason, and I'm > trying to learn what that is. I'm open to other lessons learned on this > topic as well. > > Thanks, > -Jeff > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users