I have my product MSI, which customers can install individually.
There are other product suites in my company which will also be sharing and installing this product MSI.
How Do I do ref-counting in MSI ?
I have my product MSI, which customers can install individually.
There are other product suites in my company which will also be sharing and installing this product MSI.
How Do I do ref-counting in MSI ?
There is nothing built-in to support this, unless your product makes more sense as a merge module and you distribute it that way instead. Assuming you stick with a full installer, it's not hard to conceptualize a model in which you pick a registry key under which to list consumers of this product. The last one to remove its key can also chain or otherwise remove the main product. However since nothing will enforce it, any single consumer missing this key could render it useless.
Traditionally one cops out and just lists the program in ARP so the user can control it.