[wix-users] Adding file to the install package

Elena Aralla elena.aralla at gmail.com
Mon Aug 6 05:49:22 PDT 2018


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!



More information about the wix-users mailing list