Consider a case where I have installshield software which installs a .msi through chained installation. Let's say it's Setup-1.
Now I have another setup Setup-2 which installs the same .msi through chained installation.
Now if I uninstall either of the setup (Setup-1 or Setup-2), it is uninstalling the chained msi. So the other setup cannot use it which leads to a problem. Only when both are uninstalled, it should be uninstalled. It should be something like shared components.
How to avoid this scenario?