We have MSI version 12.2.1.0 released and there were new components added in Fix 1 which is now released has 2 components with same GUID. We have identified issue in Fix2 as patch doesn't seem to overwrite/replace the files due to duplicate GUID for the components the feature which is referring the components is getting skipped while installing Fix2.
How to resolve the duplicate GUID issue in Fix2.We cannot go back to fix1 as it is been delivered to customer.
First component
How to safely remove the duplicate GUID to make patch install the feature without skipping.
Log shows Line 1042: MSI (c) (9C:7C) [11:47:25:815]: SELMGR: Component 'xyz_shortcut18' is registered to feature 'P', but is not present in the FeatureComponents table. Removal of components from a feature is not supported!
ICE warning : unfortunately got ignored while generating patch warning LGHT1137: Component/@Id='p19.arx' has a @Guid value '{36B8C853-9E9E-48D7-BDCD-E4D6C376B781}' that dupli cates another component in this package. This is not officially supported by Windows Installer but works as long as all components have mutually-exclusive conditions.
We are using wixout files to generate the transform Pure patch process.
To fix Component Rule violations you need to use a major upgrade that is scheduled very early (after InstallValidate
). That will remove the "bad package" before installing the fixed package avoiding the Component Rule violations.
After that, then you can attempt more advanced upgrade/patching scenarios.