Hi all, Is there a way to prevent removal of specific components when removal is part of a major upgrade, as opposed to just an uninstallation?
My app creates certain registry entries at runtime (not the installer but the actual software). I would like to keep these during an upgrade while still cleaning them up during installation. I created a Component with RemoveRegistryKey tags and gave it a Condition that checks for a variable "AUTOUPDATE" which gets passed via command line in case of a major upgrade. This doesn't seem to work as the registry keys are always removed, regardless of the AUTOUPDATE variable. Source code: http://github.com/pandion/pandion/blob/master/Installer/WiX/product.wxs#L259 Any suggestions? Sebastiaan ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users