I use heat util from the WIX toolset to generate COM registration of a dll. All works fine until there is only one product using that dll.
But when this dll was already registered by another product or is used by later-installed products, uninstalling of my product removes DLL registration and breaks other applications.
Is there a way to overcome this issue? I have an idea to make generated component permanent, but looks like there is no simple way to accomplish it. And it is not ideal situation because it would be better to remove DLL registration if our application is the opny one who use that dll.
The other issue is registering dll changes the previous registration even if it has newer version. Again it will break other applications. We would like to use never version if it is already installed.
Can anybody recommend a simple solution to overcome described issues?