I am someone with little to no experience with wix and I am trying to support Windows also for the component I am responsible for. I am trying to create merge module for a s
You will have trouble with minor upgrades/repairs. If a component is being updated, only the file designated as the KEYPATH is checked to see if it is out of date: if it is up to date, all the others are ignored.
You'll also have difficulty if you want to add or remove files from each component. Once released, a component is immutable (in terms of what files are in it). The only way to update it without breaking component rules would be to effectively remove and install the a new version of the MSI. Understanding the component rules is key in Windows Installer and one file per component makes the component rules easier to work with, which is why it is the recommendation of many people here.
LINK
Use one file per component - this avoids all sorts of problems (except .NET assemblies spanning multiple files). See the following thread: Wix: one file per component or several files per component?
Wix is a great framework for creating installers, but it has a steep learning curve. I strongly recommend you read a few sections of this great, online tutorial: http://wix.tramontana.co.hu/ .
If you are a "sample based tinkerer", you can find an even quicker, sample based tour in this article: http://www.codeproject.com/Tips/105638/A-quick-introduction-Create-an-MSI-installer-with
Wix is hands-on. Just focus on the samples, and focus on getting the components created and a major upgrade set up:
Once you got that running the rest of the details fall into place by reading the documentation for whatever feature you need. Using Visual Studio / Votive with intellisense ensures that you can learn as you go with features such as shortcuts, ini files, xml files, dialogs, etc...
Another top tip is to use dark.exe (part of the Wix toolkit) to decompile existing MSI files. This yields Wix XML with code you can copy and paste into your own Wix files. I use other MSI tools to compile such MSI files, and then copy the sections I need into my Wix file - just to speed up the process of creating the Wix XML. Studying the decompiled XML is very educational - a real time saver.