This is likely a classic component violation. The component GUID has been 
revved but the version independent progID remains the same registry key for the 
two components, meaning the uninstall of any one of the components will remove 
the key out from underneath the other product since two separate components 
share the same resource. A repair of the other product may undo the damage.
The only way to avoid this is to place the version independent registry data 
into its own component that component versions separate from the file version 
dependent information. In this case your 3.5 and 4.0 installs would have the 
same component for this information that doesn't change and it would add-ref 
properly.
--
Bryan

________________________________________
From: Manik Bavandla [bman...@gmail.com]
Sent: Tuesday, May 11, 2010 12:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Version independent prog id is removed after       
uninstalling current version

Hi All

We have a version independent prog id in a COM dll.

We used heat.exe to generate the COM registry keys.

1) Installed the version 3.5 MSI with the com registry keys generated using
heat.exe.
 2) Installed the version 4.0 MSI with the com registry keys generated using
heat.exe, note that COM classids and progids are changed in this version.
3) Now, if uninstall the 4.0 MSI, the version independent prog id got
removed.

Why is this happening? is this a known issue? Any pointers would be helpful.

Using regsvr32.exe also we are observing the same behavior.
What are the best practices for using version independent prod ids?


Thanks in advance.
Manikyam
------------------------------------------------------------------------------

_______________________________________________
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

Reply via email to