I'm learning about Windows-Installer and Wix, and have a number of questions related to how it works:
- If a component GUID changes, but the same files are in the component, what happens on a major upgrade? Do the files get replaced?
- If a component is removed from a product, what happens to the associated files on a major upgrade? Do the original files get removed on an uninstall?
- Am I correct in saying that a major upgrade will replace all files in all components, regardless of whether the assembly version of the file has changed, and that on small updates and minor upgrades, it only replaces a file if the GUID is the same, and the assembly version of the file has been incremented? What if the file doesn't have an assembly version, like an aspx page?
- Suppose that a product was deployed on a machine without using an installer. If you then created an installer, with files of the same name in a component as what's in the installed directory, what happens to those files if you tried an installation? Are they replaced?
- Am I correct in saying that if I used a tool like heat to create an xml file with all the files in a directory (like for a website), that you'd have to keep the GUIDs the same (manually or with a script), or you'd only be able to do major upgrades?