Windows installer does do reference counting but, it counts components
not products. The problem with trying to reference count a whole
product from the msi is that you don't know why the msi is being
executed. Is your msi being executed because of a new install of
product XYZ or a reinstall of product ABC? One would increment the
reference count and the other wouldn't.
You might take a look at creating a merge module which would get you
reference counting at the component level. The problem with merge
modules is that there isn't a good way to release an update of your
product, you have to get the users of your product to release an update.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Diplomacy
Player
Sent: Monday, August 06, 2007 2:19 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] RefCounting
I am writing a redist msi using wix and I need to ensure that my content
only gets installed once and not uninstalled until all referencing
installs have uninstalled. It would seem like Windows Installer would
just handle this, but apparently it does not. Do I need to implement
this myself? What's a good way to do it?
Thanks,
Paul
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users