UPGRADINGPRODUCTCODE is set in the product being *uninstalled*, the target of the RemoveExistingProducts, not in your code that is calling it. If you want to have a dialog because your setup has detected that it is upgrading an older existing product, then base that dialog on the property being set in your Upgrade, usually a name you invent like "FOUNDPREVIOUSVERSIONS". If you want your uninstall code to do something special when it's being upgraded (as opposed to being just installed) then that older outgoing product can condition it on UPGRADINGPRODUCTCODE.
Phil W -----Original Message----- From: victorwhiskey [mailto:victorhwhis...@yahoo.com] Sent: Tuesday, June 19, 2012 2:41 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Detecting upgrades UPGRADINGPRODUCTCODE Hello, I was reading the property reference http://msdn.microsoft.com/en-us/library/windows/desktop/aa370905%28v=vs.85%29 page for UPGRADINGPRODUCTCODE and it says UPGRADINGPRODUCTCODE is set when RemoveExistingProducts is executed. How can I base my dialogs then, if RemoveExistingProducts is executed late in the game? Example I want a specific dialog displayed based on UPGRADINGPRODUCTCODE. So if RemoveExistingProducts is executed after InstallExecute, the dialog stage has past then. Is there something else I can condition the dialog on? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detecting-upgrades-UPGRADINGPRODUCTCODE-tp7578945.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users