开发者

MSI reference counting

I have my product MSI, which customers can install individually.

There are other product suites in my company which 开发者_StackOverflow中文版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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜