Don't know the answer, but surely interested when you find out how. I 
understand you update by a complete uninstall followed by a new 
install. How about the other way around: first install the new 
version and then uninstall the old one? My experience is that in that 
case a registry key selected for removal on uninstall is preserved 
when it also belongs to the new version.

Peter

At 01:57 15-1-2009, you wrote:
>I have a RemoveRegistryKey element that I'm using to clean up the registry
>on uninstall.  However I've noticed that it's also being triggered during
>upgrades (when the previous version is uninstalled before the new version
>gets installed).  I was hoping to attach some sort of condition attribute to
>the RemoveRegistryKey element, but haven't figured out how to do this.  Is
>it possible?
>
>Thanks!
>Colin
>------------------------------------------------------------------------------
>This SF.net email is sponsored by:
>SourcForge Community
>SourceForge wants to tell your story.
>http://p.sf.net/sfu/sf-spreadtheword
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to