[wix-users] Adding file to the install package

Edwin Castro egcastr at gmail.com
Mon Aug 6 07:46:14 PDT 2018

 Please read about components, how they are versioned, how the windows
installer engine decides whether or not to replace the resources for any
given component, etc. The links below will get you started. After you
understand those bits you'll be able to decide whether or not you'll run
into trouble putting more than one file (or any other resource) into any
given component.



Edwin G. Castro

On Mon, Aug 6, 2018 at 5:49 AM, Elena Aralla via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi,
> in the WIX documentation I find written:
> "In general, you should restrict yourself to a single file per component.
> The Windows Installer is designed to support thousands of components in a
> single installer, so unless you have a very good reason, keep to one file
> per component. Every component must have its own unique GUID. Failure to
> follow these two basic rules can lead to many problems down the road when
> it comes to servicing."
> Why?
> Can someone explain me well why for every file that I add to the setup, it
> must be inserted in a component, with its own guid?
> Why can not I put files of the same type in a single component?
> Thanks so much!
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list