Did you ever get a reply to this (I don't see one in my wix-users folder)? Windows Installer will automatically keep track of products that share same component GUIDs and only fully remove the component when the last product containing that component is removed. What you will want to watch out for is the path of the service's executable: make sure it is also the same between both instances of the component so that one instance of the file isn't removed and the other orphaned with the service registration left pointing to the removed one.
-----Original Message----- From: Oleksandr Y. Nechyporenko [mailto:alexnc69...@gmail.com] Sent: Tuesday, March 09, 2010 7:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Shared windows service between multiple products We have two versions of our product (Desktop and Enterprise). Both versions can be installed on the same computer on the same time. I.e. they have different product and upgrade code GUIDs. But each of these versions contains same windows service. This service should be installed only once and should be shared between two products. We've described this service as component. What is most correct way to include it to both installers? Is it enough to include it to both installers with same Component GUID? How we should "say" to installer to uninstall this service only if last of installed products will be uninstalled? Thanks. ---------------------------------------------------------------------------- -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users