WIX: COM unregistration when removing one of two programs
- by madbadger
Hello,
I am relatively new to WiX. It is a great tool, but I still need some time
to learn it better.
I have encountered a problem with registration and unregistration of a COM
component. I have created installers for two applications, lets call them A
and B. Both are using the same COM component. I have used the heat tool, as
recommended. When installing A or B, the component is registered without any
problems.
But when I install A and B, then remove A (with Add/Remove programs) the COM
class gets unregistered and B cannot use it anymore. Is there a clean
solution to prevent this from happening? I would like to unregister the COM
when BOTH A and B are uninstalled.
Any help would be appreciated,
Best regards,
madbadger