The only way that kind of sharing will ever really work is if you use the same component guids. If you are replacing a file from Product A and not using the same component guid as A you've broken the rules, after which things get unpredictable.
Permanent=yes is typically not a good solution, especially as there seems to be a misunderstanding that you can change it to no at some later date for the same file because you've decided you don't need it permanent after all. Permanent applies to the component guid on the system and once set cannot be reset. Phil Wilson -----Original Message----- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Thursday, September 30, 2010 12:59 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall question Our product requires another product to be pre-installed. We then overwrite some of the other products files during our install as the "integration points" between our two products. If they are in Folder A and my product goes into Folder B, then it would be true that when we detect them we are supposed to overwrite some files in Folder A. This is fine during the install of our product, but if the other product gets uninstalled first and then I try to uninstall ours it gives an error 1316. Before doing our uninstall if I replace the handful of files we overwrite in Folder B that were removed by the other products uninstall, then all is fine with my uninstall. I've tried setting the Component of each to "Permanent="yes" and also tried compressing those same files in hopes they would exist in the cahed MSI, but it is stripped clean of files. What's the proper approach here? Do I need to discover the GUIDs used by their Components and replicate them in our product, hoping there can be a one-to-one relationship? Once they uncompress part way into my TEMP folder I can only see a SETUP.EXE and other files like ISSetup.dll, but no MSI. It's InstallShield, but I can't use Orca on it to crack their GUIDs. Any advice would be great. Thanks ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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). ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users