If you look at the built MSI, you'll see EventSource is just some syntactic 
sugar to express simple registry keys/values.    Create a component in a 
fragment / wix library and mark it as shared.  Then do a ComponentRef in your 
various installers and they will all "share" that component.   Last one off 
will remove it.

Or you could just mark it as permanent and not worry about it so much.  I 
probably would because any event log entries are likely to stick around long 
after your applications have been uninstalled.

----------------------------------------
 From: keith.doug...@statcan.gc.ca
Sent: Friday, March 22, 2013 10:09 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Event source sharing

Hi everyone,

I'm getting the hang of Util:EventSource, and I realized our original plan was 
to have several of our applications (which are all "of a kind" - they are a 
bunch of collection instruments which are from the perspective of installation 
more or less identical) share a source. If one MSI installs the EventSource 
originally, and another application attempts to install it ...

(a) What happens on install? I seem to see that this collision is harmless.
(b) What happens on uninstall of *one* of the applications? Is there reference 
counting so that this does nothing to the source until the last application is 
removed? Do they have to share components or anything like that for this to 
work, or is the naming sufficient?

Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to