Software Deployment Question
MSI Shared DLL reference count not decrement on upgrade
Community Chosen Answer
In the major upgrade scenario, keep the RemoveExistingProducts inbetween InstallValidate and InstallInitialize so that during upgrade older product is uninstalled first (SharedDll entry gone) and then newer product is installed. In this case SharedDll count will remain as 1.
If not make the component as not shared, if sharing is not really necessary for your case.