[wix-users] Adding file to the install package

Walter Dexter wfdexter at gmail.com
Tue Aug 7 09:00:59 PDT 2018


In my experience is thats only good advice for versioned resources. If it’s a bunch of text files, Windows Installer will refuse to overwrite modified files which is the opposite of what I usually want.

> On Aug 6, 2018, at 8: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