I would like to know if there is a way to detect what triggered a product uninstall.
Issue: We have some custom actions that should NOT be triggered if the install is running in Upgrade mode. This is true for the upgrade install, but the custom actions in the previous version, that is being uninstalled by RemoveExistingProducts, do get triggered and therefore removes content that we do not removed on an upgrade install. We have the custom actions conditioned on the property WIX_UPGRADE_DETECTED, the this property only gets set in the upgrade install, not the previous version that is being uninstalled. So we need to know how the previous version is being triggered to uninstall, that it can detect, so that we can turn off the custom actions. We know if we get something that will work it would mean that it will not take affect until the current install project becomes the previous version, but at least if we get something built in now to detect this then it would work for future releases... So if there is anything that we can detect to know that the previous version is being uninstalled by an upgrade install then this would greatly help us out... Thanks, -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-detect-if-prevous-version-uninstall-is-triggered-by-RemoveExistingProducts-tp7600881.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users