You must be marking them shared using what becomes the msidbComponentAttributesSharedDllRefCount bit in the component table. You don't need this if the file is always deployed with an MSI-based setup because MSI does sharing based on component guids. The only reason this Dll ref count exists is for compatibility with files that may be deployed with non-MSI setups so that MSI ans non-MSI can share using that method. As the docs say, MSI will increment SharedDllRefCount if the count already exists so it's rare that you ever need to do anything.
Phil Wilson -----Original Message----- From: Swapnil Sankla [mailto:swapnil_san...@persistent.co.in] Sent: Friday, August 06, 2010 4:04 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Shared Attribute handling while Upgrade Hi, I have marked the binaries deployed by the installer as Shared. It work fine if I install the msi and uninstall it. However if I tried to upgrade the existing product then the SharedDllRefCount increases to two. Hence after uninstalling the product the count becomes one and uninstallation does not remove these files. Have anyone faced the same problem mentioned above? Thanks and regards Swapnil. DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-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 Portland House, Bressenden Place, London, SW1E 5BF (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 7821 3848 or e-mail inet.hqhelpd...@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). ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users