A component in Windows Installer is the smallest "atom" available. It is immutable. In particular, the Windows Installer engine decides which resources to process based on which components are selected. When you place more than one physical resource in a component you lose the ability to patch/update/upgrade the files separately. For example, if the helper dll changes but the executable doesn't then any patches/updates/upgrades MUST change both the helper dll and the executable because the component as a whole is processed. Users are not allowed to select components directly. The setup developer is responsible for collecting components that must be installed together into features that are selectable by the user.
Understanding the component rules and types of updates/upgrades is crucial to understanding the rationale for features and components in Windows Installer. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail -----Original Message----- From: Phillip Wu [mailto:phillip...@lpi.nsw.gov.au] Sent: Sunday, February 05, 2012 4:11 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WIX Example I am reading the tutorial: http://wix.tramontana.co.hu/tutorial In the first example presented (samplefirst.wxs) there is an executeable, helper dll, pdf instruction manual. When the example is built it makes the executeable, icons, shortcuts one component. The helper dll is put into another component. Should not the executeable, icons, shortcuts and helper dll be in the same component as the executeable will not function without the dll? *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the NSW Government. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** Please consider the environment before printing this email. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users