In our product, we maintain the component violation and we instruct our users in such a scenario to run repair on the remaining version if you uninstall from a side-by-side state. A custom action would also potentially work as you suggest Kim, if the scenario is important enough to warrant the effort and risk. You are correct that there are problems regardless of how you handle the situation. That is just a fact of COM and how it doesn't always play nicely with Windows Installer in some scenarios (or rather Windows Installer doesn't play nice with COM :)). -- Bryan
________________________________________ From: Kim Gybels [kim.gyb...@metris.com] Sent: Tuesday, May 11, 2010 2:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Version independent prog id is removed after uninstalling current version This is an interesting problem. The question is: what behavior would be acceptable? If it didn't remove the unversioned progid this would also be a problem because then you would have a progid that points to a component (dll, ocx, exe, ...) that got deleted. Assume we have 3 versions of a product with the following progids: v1: ProgID.1 -> GUID1 v2: ProgID.2 -> GUID2 v3: ProgID.3 -> GUID3 To what version should the unversioned progid refer? - the highest installed version - the lowest installed version - the last installed version - the first installed version The first option seems the most logical to me. So the uninstall should check the registry key for other existing versioned progids and set the unversioned progid accordingly. We are facing the same issues in our product and we have decided to drop support for the unversioned progids. Best regards, Kim -- * * *Kim Gybels Software Developer * kim.gyb...@nikonmetrology.com <mailto:kim.gyb...@nikonmetrology.com> Tel: +32 16 74 01 00 Fax: +32 16 74 01 03 *Nikon Metrology Europe NV* Interleuvenlaan 86 3001 Leuven Belgium www.nikonmetrology.com <http://www.nikonmetrology.com/> This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Nikon Metrology does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Nikon Metrology, as permitted by applicable law and regulations. ------------------------------------------------------------------------------ _______________________________________________ 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