Reference counting works on components, it really does work. I think you're saying that there's a custom action that runs when one product is uninstalled, even though others are using the pool. Is there a condition somewhere on the CA that uninstalls the app pool?
Phil Wilson -----Original Message----- From: Thorsten Tarrach [mailto:thors...@atomia.com] Sent: Thursday, December 02, 2010 7:02 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Having a reference counter for components Hi everyone, I tried to create a shared merge module that creates a user and an application pool in IIS. The idea is that we have a number of installation packages that all share the same application pool and user. The first installed application creates the application pool and the last one deletes it. I was hoping that the merge module would allow us to track the reference count of the components because they have the same guid in each package. But what happens is that the first application that is uninstalled also deletes the application pool. So except for a custom solution the only way seems to mark the component as permanent so that it is never uninstalled. Is there any way to enable windows installer to take care of when a component needs to be uninstalled? Thanks, Thorsten ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users