WIX: COM unregistration when removing one of two programs
Posted
by madbadger
on Stack Overflow
See other posts from Stack Overflow
or by madbadger
Published on 2010-03-21T21:41:14Z
Indexed on
2010/03/21
22:01 UTC
Read the original article
Hit count: 469
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
© Stack Overflow or respective owner