Search code examples
installationwindows-installerinstallshieldmerge-module

Merge module components remianed in the system as residue


Merge module components are remained as residues in the system . When another application is uninstalled , merge module components are left behind with log "Disallow uninstalling component since another client exist" . The problem is not sure which client is holding the files . No client is found in control panel or Windows installer Cleanup . How to identify which client is holding file or How to remove the merge module from the system ?


Solution

  • Windows installer keeps track if the same components are shared between multiple packages installed on same machine. Windows installer keeps reference count of such components and allow uninstallation until all the applications use them are removed.

    To find the component, Browse for the following registry:

    HKEY_CLASSES_ROOT\Installer\Components
    

    Here component GUID is repacked. So, in order to extract correct component GUID, please refer following page: https://www.advancedinstaller.com/user-guide/faq-files-folders.html#question239

    Once component id is found, search it in local machine(HKLM) hive and you should able to find which product it belongs to.